util.misc
Class OperatingSystem
java.lang.Object
util.misc.OperatingSystem
public class OperatingSystem
- extends Object
Checks which OS is used.
Uses the BrowserLauncher-Detecion-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
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)