util.misc
Class OperatingSystem
java.lang.Object
util.misc.OperatingSystem
public class OperatingSystem
- extends java.lang.Object
Checks which OS is used.
Uses the BrowserLauncher-Detection-Code
- Since:
- 2.2
- Author:
- bodum
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperatingSystem
public OperatingSystem()
isWindows
public static boolean isWindows()
- Returns:
- true, if the Operating System is Windows
isMacOs
public static boolean isMacOs()
- Returns:
- true, if the Operating System is MacOS
isLinux
public static boolean isLinux()
- Returns:
True
, if the Operation System is Linux.- Since:
- 2.2.4/2.6
isOther
public static boolean isOther()
- Returns:
- true, if the Operating System is not Windows or MacOS
isWindows64
public static boolean isWindows64()
- Returns:
- true, if the OS is Windows with 64 bit
- Since:
- 3.0
isKDE
public static boolean isKDE()
- Returns:
- true, if a KDE session is running
- Since:
- 3.0
TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)