org.ow2.jonas.lib.util
Class Env
java.lang.Object
org.ow2.jonas.lib.util.Env
public class Env
- extends Object
This class manages global variables and properties used by EJB Server. A
static design pattern is used.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAVA_1_1_6
public static final int JAVA_1_1_6
- See Also:
- Constant Field Values
JAVA_1_1_7
public static final int JAVA_1_1_7
- See Also:
- Constant Field Values
JAVA_1_1_8
public static final int JAVA_1_1_8
- See Also:
- Constant Field Values
JAVA_1_2
public static final int JAVA_1_2
- See Also:
- Constant Field Values
JAVA_1_3
public static final int JAVA_1_3
- See Also:
- Constant Field Values
JAVA_1_4
public static final int JAVA_1_4
- See Also:
- Constant Field Values
isOsWindows
public static boolean isOsWindows()
- Returns:
- true if the os.name starts with "Windows"
isOsMacOsX
public static boolean isOsMacOsX()
- Returns:
- true if the os.name starts with "Mac OS X"
getJavaVersion
public static int getJavaVersion()
- Gets Java Version.
- Returns:
- javaVersion or -1 if error
isJAVA2
public static boolean isJAVA2()
- Returns:
- true if JDK 1.2 or later
isJAVA4
public static boolean isJAVA4()
- Returns:
- true if JDK 1.4 or later
Copyright © 2010 OW2 Consortium. All Rights Reserved.