Enum Constant and Description |
---|
ANDROID
Android, the mobile OS by Google.
|
BADA
Bada, the OS by Samsung
|
BBOS
The BlackBerry OS, mostly used on BlackBerry phones.
|
BEOS
BeOS, by Be Inc
|
BSD
One of the BSD OSes (Free BSD, Open BSD, etc)
|
CHROMEOS
Chrome OS, by Google.
|
IOS
iOS, by Apple, the OS for iPhones, iPads and iPods Touch.
|
LINUX
Desktop Linux, such as Debian, Ubuntu, RedHat, etc.
|
MACOS
Mac OS, by Apple, before Mac OS X.
|
MACOSX
Mac OS X, by Apple.
|
MEEGO
MeeGo, the mobile OS by Nokia and The Linux Foundation.
|
OS2
OS/2 by IBM
|
OTHER
The OS was detected but judged not worthy enough to get a place in the enum.
|
PLAYSTATION
The OS of the PlayStation, by Sony.
|
RIM_TABLET
The Tablet OS, by BlackBerry.
|
RISC
RISC OS, by Castle Technology & RISC OS Open (version 5), and RISCOS Ltd (versions 4 & 6)
|
SERIES40
Series 40 OS, by Nokia.
|
SYMBIAN
Symbian, the OS by Nokia.
|
UNIX
One of the many Unices such as Sun OS, Solaris, IRIX, AIX and many others
|
UNKNOWN
No OS could be detected.
|
WEBOS
Web OS by Palm and then HP
|
WINDOWS
Windows pre-NT (Windows 3.x, 95, 98, ME)
|
WINDOWS_MOBILE
Windows on a mobile device (Windows CE, Windows Phone OS, ...)
|
WINDOWS_NT
An OS of the Windows NT Family (NT3.51, NT4, Windows 2000, XP, Vista, Seven, Windows 8...)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
boolean |
isLinuxKernel() |
java.lang.String |
toString() |
static OSFamily |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OSFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSFamily WINDOWS_NT
public static final OSFamily WINDOWS_MOBILE
public static final OSFamily WINDOWS
public static final OSFamily LINUX
public static final OSFamily MEEGO
public static final OSFamily ANDROID
public static final OSFamily MACOSX
public static final OSFamily MACOS
public static final OSFamily IOS
public static final OSFamily RIM_TABLET
public static final OSFamily BBOS
public static final OSFamily OTHER
public static final OSFamily SERIES40
public static final OSFamily BSD
public static final OSFamily OS2
public static final OSFamily BEOS
public static final OSFamily WEBOS
public static final OSFamily BADA
public static final OSFamily RISC
public static final OSFamily UNIX
public static final OSFamily CHROMEOS
public static final OSFamily SYMBIAN
public static final OSFamily PLAYSTATION
public static final OSFamily UNKNOWN
public static OSFamily[] values()
for (OSFamily c : OSFamily.values()) System.out.println(c);
public static OSFamily valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isLinuxKernel()
public java.lang.String toString()
toString
in class java.lang.Enum<OSFamily>
public java.lang.String getLabel()