Package com.l2fprod.util
Class OS
- java.lang.Object
-
- com.l2fprod.util.OS
-
public final class OS extends java.lang.Object- Version:
- $Revision: 1.3 $, $Date: 2004/07/18 19:13:11 $
- Author:
- $Author: l2fprod $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetJDKVersion()Gets the JDKVersion attribute of the OS classstatic booleanisCaseSensitive()Gets the CaseSensitive attribute of the OS classstatic booleanisLinux()Gets the Linux attribute of the OS classstatic booleanisMacintosh()Gets the Macintosh attribute of the OS classstatic booleanisOneDotFour()Gets the OneDotFour attribute of the OS classstatic booleanisOneDotFourOrMore()static booleanisOneDotOne()Gets the OneDotOne attribute of the OS classstatic booleanisOneDotThree()Gets the OneDotThree attribute of the OS classstatic booleanisOneDotThreeOrMore()Gets the OneDotThreeOrMore attribute of the OS classstatic booleanisOneDotTwo()Gets the OneDotTwo attribute of the OS classstatic booleanisSolaris()Gets the Solaris attribute of the OS classstatic booleanisUnix()Gets the Unix attribute of the OS classstatic booleanisWindows()Gets the Windows attribute of the OS classstatic booleanisWindows2000()Gets the Windows2000 attribute of the OS classstatic booleanisWindows95()Gets the Windows95 attribute of the OS classstatic booleanisWindowsNT()Gets the WindowsNT attribute of the OS classstatic voidopenDocument(java.lang.String path)Description of the Method
-
-
-
Field Detail
-
JDK1_1
public static final int JDK1_1
Description of the Field- See Also:
- Constant Field Values
-
JDK1_2
public static final int JDK1_2
Description of the Field- See Also:
- Constant Field Values
-
JDK1_3
public static final int JDK1_3
Description of the Field- See Also:
- Constant Field Values
-
JDK1_4
public static final int JDK1_4
Description of the Field- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public static void openDocument(java.lang.String path) throws java.lang.ExceptionDescription of the Method- Parameters:
path- Description of Parameter- Throws:
java.lang.Exception- Description of Exception
-
-