Method Summary |
|
public static String | getCurrentDirectory() Returns the user's home directory. |
public static String | getJavaClassVerion() Returns the verion of the java classwe're using. |
public static String | getJavaVendor() Returns the vendor for java we're using. |
public static String | getJavaVersion() Returns the version of java we're using. |
public static String | getOS() Returns the operating system. |
public static String | getOSArchitecture() Returns the operating system architecture. |
public static String | getOSVersion() Returns the operating system version. |
public static boolean | isAnyMac() Returns whether or not the os is any Mac os. |
public static boolean | isCJKLocale() Returns whether the default locale is one of the three language - Chinese, Japanese or Korean - also known as CJK. |
public static boolean | isCJKLocale(Locale locale) Returns whether the locale is one of the three language - Chinese, Japanese or Korean - also known as CJK.
Parameters: locale - the locale to be checked. |
public static boolean | isClassicWindows() Gets the state of the flag which indicates if the old Windows
look and feel should be rendered. |
public static boolean | isJdk13Above() Returns whether or no the JDK version is 1.3 and above. |
public static boolean | isJdk142Above() Returns whether or no the JDK version is 1.4.2 and above. |
public static boolean | isJdk14Above() Returns whether or no the JDK version is 1.4 and above. |
public static boolean | isJdk15Above() Returns whether or no the JDK version is 1.5 and above. |
public static boolean | isJdk16Above() Returns whether or no the JDK version is 6 and above. |
public static boolean | isJdk6Above() Returns whether or no the JDK version is 6 and above. |
public static boolean | isJdk7Above() Returns whether or no the JDK version is 1.7 and above. |
public static boolean | isLinux() Returns whether or not the os is Linux. |
public static boolean | isMacClassic() Returns whether or not the os is Mac 9.1 or earlier. |
public static boolean | isMacOSX() Returns whether or not the os is Mac OSX. |
public static boolean | isSolaris() Returns whether or not the os is Solaris. |
public static boolean | isUnix() Returns whether or not the os is some version of
Unix, defined here as only Solaris or Linux. |
public static boolean | isWindows() Returns whether or not the os is some version of Windows. |
public static boolean | isWindows2003() Returns whether or not the os is some version of Windows 2003. |
public static boolean | isWindows95() Returns whether or not the os is some version of Windows 95. |
public static boolean | isWindows98() Returns whether or not the os is some version of Windows 98. |
public static boolean | isWindowsNTor2000() Returns whether or not the os is some version of Windows NT. |
public static boolean | isWindowsXP() Returns whether or not the os is some version of Windows XP. |
public static void | setSupportsTray(boolean support) Set supportTray to false in case dll is missing. |
public static boolean | supportsTray() Returns true if this is Windows NT or Windows 2000 and
hence can support a system tray feature. |