org.xmlBlaster.util
Class JdkCompatible
java.lang.Object
org.xmlBlaster.util.JdkCompatible
public class JdkCompatible
- extends java.lang.Object
Helper to use only JDK 1.1 supported methods.
For xmlBlaster CLIENT side java classes only, since xmlBlaster server only
runs withc JDK 1.2 or newer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
majorJavaVersion
private static final float majorJavaVersion
DEFAULT_JAVA_VERSION
public static final float DEFAULT_JAVA_VERSION
- See Also:
- Constant Field Values
JdkCompatible
public JdkCompatible()
setSystemProperty
public static void setSystemProperty(java.lang.String key,
java.lang.String value)
- Deprecated. since JDK 1.2
- System.setProperty(String, String); is since JDK 1.2
This method supports JDK 1.1 as well
getMajorJavaVersion
private static final float getMajorJavaVersion()
- Parses the java version system property to determine the major java version,
ie 1.x
- Returns:
- A float of the form 1.x
is14
public static boolean is14()
is15
public static boolean is15()
is16
public static boolean is16()
isSun
public static boolean isSun()
isApple
public static boolean isApple()
isHPUX
public static boolean isHPUX()
isIBM
public static boolean isIBM()
isBlackdown
public static boolean isBlackdown()
isBEAWithUnsafeSupport
public static boolean isBEAWithUnsafeSupport()
Copyright © 1999-2014 The xmlBlaster.org contributers.