Class JavaPlatform


  • public class JavaPlatform
    extends java.lang.Object
    INTERNAL: JavaPlatform abstracts the version of the JDK we are using. It allows any operation which is dependent on JDK version to be called from a single place and then delegates the call to its JDKPlatform
    Author:
    Tom Ware
    See Also:
    JDPlatform
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaPlatform()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Boolean conformLike​(java.lang.Object left, java.lang.Object right)
      INTERNAL: An implementation of in memory queries with Like which uses the regular expression framework.
      static java.lang.Boolean conformRegexp​(java.lang.Object left, java.lang.Object right)
      INTERNAL: An implementation of in memory queries with Regexp which uses the regular expression framework.
      static java.lang.String getStringAndFreeSQLXML​(java.lang.Object sqlXml)
      INTERNAL: Casts the passed object to SQLXML and calls getString and free methods
      static boolean isSQLXML​(java.lang.Object object)
      INTERNAL: Indicates whether the passed object implements java.sql.SQLXML introduced in jdk 1.6
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaPlatform

        public JavaPlatform()
    • Method Detail

      • conformLike

        public static java.lang.Boolean conformLike​(java.lang.Object left,
                                                    java.lang.Object right)
        INTERNAL: An implementation of in memory queries with Like which uses the regular expression framework.
      • conformRegexp

        public static java.lang.Boolean conformRegexp​(java.lang.Object left,
                                                      java.lang.Object right)
        INTERNAL: An implementation of in memory queries with Regexp which uses the regular expression framework.
      • isSQLXML

        public static boolean isSQLXML​(java.lang.Object object)
        INTERNAL: Indicates whether the passed object implements java.sql.SQLXML introduced in jdk 1.6
      • getStringAndFreeSQLXML

        public static java.lang.String getStringAndFreeSQLXML​(java.lang.Object sqlXml)
                                                       throws java.sql.SQLException
        INTERNAL: Casts the passed object to SQLXML and calls getString and free methods
        Throws:
        java.sql.SQLException