com.l2fprod.util
Class OS

java.lang.Object
  extended by 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 $

Field Summary
static int JDK1_1
          Description of the Field
static int JDK1_2
          Description of the Field
static int JDK1_3
          Description of the Field
static int JDK1_4
          Description of the Field
 
Method Summary
static int getJDKVersion()
          Gets the JDKVersion attribute of the OS class
static boolean isCaseSensitive()
          Gets the CaseSensitive attribute of the OS class
static boolean isLinux()
          Gets the Linux attribute of the OS class
static boolean isMacintosh()
          Gets the Macintosh attribute of the OS class
static boolean isOneDotFour()
          Gets the OneDotFour attribute of the OS class
static boolean isOneDotFourOrMore()
           
static boolean isOneDotOne()
          Gets the OneDotOne attribute of the OS class
static boolean isOneDotThree()
          Gets the OneDotThree attribute of the OS class
static boolean isOneDotThreeOrMore()
          Gets the OneDotThreeOrMore attribute of the OS class
static boolean isOneDotTwo()
          Gets the OneDotTwo attribute of the OS class
static boolean isSolaris()
          Gets the Solaris attribute of the OS class
static boolean isUnix()
          Gets the Unix attribute of the OS class
static boolean isWindows()
          Gets the Windows attribute of the OS class
static boolean isWindows2000()
          Gets the Windows2000 attribute of the OS class
static boolean isWindows95()
          Gets the Windows95 attribute of the OS class
static boolean isWindowsNT()
          Gets the WindowsNT attribute of the OS class
static void openDocument(java.lang.String path)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.Exception
Description of the Method

Parameters:
path - Description of Parameter
Throws:
java.lang.Exception - Description of Exception