TV-Browser 3.3.3 API

util.misc
Class OperatingSystem

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

Constructor Summary
OperatingSystem()
           
 
Method Summary
static boolean isKDE()
           
static boolean isLinux()
           
static boolean isMacOs()
           
static boolean isOther()
           
static boolean isWindows()
           
static boolean isWindows64()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatingSystem

public OperatingSystem()
Method Detail

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 API

TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)