Package com.l2fprod.util
Class OS
java.lang.Object
com.l2fprod.util.OS
- Version:
- $Revision: 1.3 $, $Date: 2004/07/18 19:13:11 $
- Author:
- $Author: l2fprod $
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic intGets the JDKVersion attribute of the OS classstatic booleanGets the CaseSensitive attribute of the OS classstatic booleanisLinux()Gets the Linux attribute of the OS classstatic booleanGets the Macintosh attribute of the OS classstatic booleanGets the OneDotFour attribute of the OS classstatic booleanstatic booleanGets the OneDotOne attribute of the OS classstatic booleanGets the OneDotThree attribute of the OS classstatic booleanGets the OneDotThreeOrMore attribute of the OS classstatic booleanGets the OneDotTwo attribute of the OS classstatic booleanGets the Solaris attribute of the OS classstatic booleanisUnix()Gets the Unix attribute of the OS classstatic booleanGets the Windows attribute of the OS classstatic booleanGets the Windows2000 attribute of the OS classstatic booleanGets the Windows95 attribute of the OS classstatic booleanGets the WindowsNT attribute of the OS classstatic voidopenDocument(String path) Description of the Method
-
Field Details
-
JDK1_1
public static final int JDK1_1Description of the Field- See Also:
-
JDK1_2
public static final int JDK1_2Description of the Field- See Also:
-
JDK1_3
public static final int JDK1_3Description of the Field- See Also:
-
JDK1_4
public static final int JDK1_4Description of the Field- See Also:
-
-
Method Details
-
isWindows
public static boolean isWindows()Gets the Windows attribute of the OS class- Returns:
- The Windows value
-
isWindows95
public static boolean isWindows95()Gets the Windows95 attribute of the OS class- Returns:
- The Windows95 value
-
isWindowsNT
public static boolean isWindowsNT()Gets the WindowsNT attribute of the OS class- Returns:
- The WindowsNT value
-
isWindows2000
public static boolean isWindows2000()Gets the Windows2000 attribute of the OS class- Returns:
- The Windows2000 value
-
isMacintosh
public static boolean isMacintosh()Gets the Macintosh attribute of the OS class- Returns:
- The Macintosh value
-
isSolaris
public static boolean isSolaris()Gets the Solaris attribute of the OS class- Returns:
- The Solaris value
-
isLinux
public static boolean isLinux()Gets the Linux attribute of the OS class- Returns:
- The Linux value
-
isUnix
public static boolean isUnix()Gets the Unix attribute of the OS class- Returns:
- The Unix value
-
isCaseSensitive
public static boolean isCaseSensitive()Gets the CaseSensitive attribute of the OS class- Returns:
- The CaseSensitive value
-
getJDKVersion
public static int getJDKVersion()Gets the JDKVersion attribute of the OS class- Returns:
- The JDKVersion value
-
isOneDotOne
public static boolean isOneDotOne()Gets the OneDotOne attribute of the OS class- Returns:
- The OneDotOne value
-
isOneDotTwo
public static boolean isOneDotTwo()Gets the OneDotTwo attribute of the OS class- Returns:
- The OneDotTwo value
-
isOneDotThree
public static boolean isOneDotThree()Gets the OneDotThree attribute of the OS class- Returns:
- The OneDotThree value
-
isOneDotFour
public static boolean isOneDotFour()Gets the OneDotFour attribute of the OS class- Returns:
- The OneDotFour value
-
isOneDotFourOrMore
public static boolean isOneDotFourOrMore() -
isOneDotThreeOrMore
public static boolean isOneDotThreeOrMore()Gets the OneDotThreeOrMore attribute of the OS class- Returns:
- The OneDotThreeOrMore value
-
openDocument
Description of the Method- Parameters:
path- Description of Parameter- Throws:
Exception- Description of Exception
-