Class OS

java.lang.Object
com.l2fprod.util.OS

public final class OS extends Object
Version:
$Revision: 1.3 $, $Date: 2004/07/18 19:13:11 $
Author:
$Author: l2fprod $
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Description of the Field
    static final int
    Description of the Field
    static final int
    Description of the Field
    static final int
    Description of the Field
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    Gets the JDKVersion attribute of the OS class
    static boolean
    Gets the CaseSensitive attribute of the OS class
    static boolean
    Gets the Linux attribute of the OS class
    static boolean
    Gets the Macintosh attribute of the OS class
    static boolean
    Gets the OneDotFour attribute of the OS class
    static boolean
     
    static boolean
    Gets the OneDotOne attribute of the OS class
    static boolean
    Gets the OneDotThree attribute of the OS class
    static boolean
    Gets the OneDotThreeOrMore attribute of the OS class
    static boolean
    Gets the OneDotTwo attribute of the OS class
    static boolean
    Gets the Solaris attribute of the OS class
    static boolean
    Gets the Unix attribute of the OS class
    static boolean
    Gets the Windows attribute of the OS class
    static boolean
    Gets the Windows2000 attribute of the OS class
    static boolean
    Gets the Windows95 attribute of the OS class
    static boolean
    Gets the WindowsNT attribute of the OS class
    static void
    Description of the Method

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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

      public static void openDocument(String path) throws Exception
      Description of the Method
      Parameters:
      path - Description of Parameter
      Throws:
      Exception - Description of Exception