net.sf.uadetector
Enum OperatingSystemFamily

java.lang.Object
  extended by java.lang.Enum<OperatingSystemFamily>
      extended by net.sf.uadetector.OperatingSystemFamily
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OperatingSystemFamily>

public enum OperatingSystemFamily
extends java.lang.Enum<OperatingSystemFamily>

This enum represents the more commonly used operating system families. It will never be complete, but can assist in identifying the version of an operating system.

Author:
André Rouél

Enum Constant Summary
AIX
          AIX (Advanced Interactive eXecutive) is a Unix operating system from IBM.
AMIGA_OS
          AmigaOS is the native operating system for the Commodore Amiga, consisting of the components of Workbench, AmigaDOS with the command line interpreter CLI (later renamed to shell) and for many Amiga models in the ROM included kernel kickstart.
ANDROID
          Android is both an operating system and a software platform for mobile devices like smart phones, mobile phones, netbooks and tablets, which is developed by the Open Handset Alliance.
AROS
          AROS is a free operating system aiming at being compatible with AmigaOS at the API level.
BADA
          Bada is a service-oriented operating system that is developed by Samsung Electronics and is designed for use in smartphones.
BEOS
          Be Operating System (BeOS) was an operating system of the company Be Incorporated and was called in later versions Be.
BLACKBERRY_OS
          BlackBerry OS (up to the fifth edition known as the BlackBerry Device Software, also known as Research In Motion OS) is a proprietary mobile operating system developed by BlackBerry Ltd for its BlackBerry line of smartphone handheld devices.
BREW
          Binary Runtime Environment for Wireless (Brew MP, Brew, or BREW) is an application development platform created by Qualcomm.
BSD
          The Berkeley Software Distribution (BSD) is a version of the Unix operating system, which was created at the University of California at Berkeley in 1977.
DANGEROS
          Danger OS is a smartphone operating system.
FIREFOX_OS
          Firefox OS is an open source operating system for smartphones and tablet computers being developed by Mozilla.
HAIKU
          Haiku (formerly OpenBeOS) is an open-source project with the aim, to reprogram and expand that in 2001 abandoned operating system BeOS.
HPUX
          HP-UX (Hewlett Packard UniX) is a commercial Unix operating system from Hewlett-Packard and is based on UNIX System V.
INFERNO_OS
          Inferno is a distributed computer operating system that comes from Bell Laboratories.
IOS
          iOS (until June 2010 iPhone OS) is the standard operating system of Apple products like iPhone, iPod touch, iPad, and the second generation of Apple TV. iOS is based on Mac OS X.
IRIX
          IRIX is a commercial Unix operating system of the company Silicon Graphics (SGI).
JVM
          The Java Virtual Machine (abbreviated Java VM or JVM) is the part of the Java Runtime Environment (JRE) for Java programs, which is responsible for the execution of Java bytecode.
LINUX
          Linux or GNU/Linux are usually called free, unix-like multi-user operating systems running based on the Linux kernel and other GNU software.
MAC_OS
          Mac OS is the name of the classic operating system (1984-2001) by Apple for Macintosh computers.
MEEGO
          MeeGo was a Linux kernel-based free mobile operating system project resulting from the fusion of Intel's Moblin and Nokia's Maemo operating systems.
MINIX
          Minix is a free unixoides operating system that was developed by Andrew S.
MORPHOS
          MorphOS is an Amiga-compatible computer operating system.
NINTENDO
          This value indicates the operating systems from Nintendo, which they developed for their devices.
OPENVMS
          OpenVMS (Open Virtual Memory System), previously known as VAX-11/VMS, VAX/VMS or (informally) VMS, is a computer server operating system that runs on VAX, Alpha and Itanium-based families of computers.
OS_2
          OS/2 is a multitasking operating system for PCs.
OS_X
          OS X, formerly Mac OS X, is a Unix-based operating systems developed by Apple.
PALM_OS
          Palm OS was the operating system for organizer of the Palm series (known as PDAs) and smartphones.
PLAYSTATION_VITA
          The PlayStation Vita system software is the official, updatable firmware and operating system for the PlayStation Vita.
QNX
          QNX is a POSIX-compatible proprietary Unix-like real-time operating system that focused primarily at the embedded market.
RISC_OS
          RISC OS is a computer operating system originally designed by Acorn Computers Ltd.
SAILFISH_OS
          Sailfish is a Linux-based mobile operating system developed by Jolla in cooperation with the Mer project and supported by the Sailfish Alliance.
SOLARIS
          Solaris is the name of an operating system distribution based on SunOS and is a Unix operating system.
SYLLABLE
          Syllable is a slim and fast desktop Unix-like operating system for x86 processors.
SYMBIAN
          The Symbian platform, simply called Symbian, is an operating system for smartphones and PDAs.
TIZEN
          Tizen is a free operating system based on Linux respectively Debian and was launched by the Linux Foundation and LiMo Foundation.
UNKNOWN
          Unknown operating system family

This value will be returned if the operating system family cannot be determined.
WEBOS
          webOS is a smartphone and tablet operating system from Hewlett-Packard (formerly HP Palm).
WII_OS
          The Wii Operating System is based on Nintendo’s proprietary software and runs on the Wii video game console.
WINDOWS
          Microsoft Windows is a trademark for operating systems of the Microsoft Corporation.
XROSSMEDIABAR
          XrossMediaBar (XMB) is the name of the graphical user interface, which are used on PlayStation 3, PlayStation Portable, Sony Blu-Ray players and Sony Bravia TVs.
 
Method Summary
static OperatingSystemFamily evaluate(java.lang.String family)
          This method try to find by the given family name a matching enum value.
protected static OperatingSystemFamily evaluateByName(java.lang.String family)
          This method try to find by the given family name a matching enum value.
protected static OperatingSystemFamily evaluateByPattern(java.lang.String family)
          This method try to find by the given family name a matching enum value.
 java.lang.String getName()
          Gets the internal family name in the UAS database.
 java.util.regex.Pattern getPattern()
          Gets the regular expression which a family name must be match with.
static OperatingSystemFamily valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OperatingSystemFamily[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AIX

public static final OperatingSystemFamily AIX
AIX (Advanced Interactive eXecutive) is a Unix operating system from IBM.


AROS

public static final OperatingSystemFamily AROS
AROS is a free operating system aiming at being compatible with AmigaOS at the API level.


AMIGA_OS

public static final OperatingSystemFamily AMIGA_OS
AmigaOS is the native operating system for the Commodore Amiga, consisting of the components of Workbench, AmigaDOS with the command line interpreter CLI (later renamed to shell) and for many Amiga models in the ROM included kernel kickstart.


ANDROID

public static final OperatingSystemFamily ANDROID
Android is both an operating system and a software platform for mobile devices like smart phones, mobile phones, netbooks and tablets, which is developed by the Open Handset Alliance.


BSD

public static final OperatingSystemFamily BSD
The Berkeley Software Distribution (BSD) is a version of the Unix operating system, which was created at the University of California at Berkeley in 1977.


BADA

public static final OperatingSystemFamily BADA
Bada is a service-oriented operating system that is developed by Samsung Electronics and is designed for use in smartphones.


BEOS

public static final OperatingSystemFamily BEOS
Be Operating System (BeOS) was an operating system of the company Be Incorporated and was called in later versions Be. Due to its multimedia capabilities it is also commonly called "Media OS".


DANGEROS

public static final OperatingSystemFamily DANGEROS
Danger OS is a smartphone operating system. It is used on Sidekick devices, which are sold in Germany by T-Mobile.


FIREFOX_OS

public static final OperatingSystemFamily FIREFOX_OS
Firefox OS is an open source operating system for smartphones and tablet computers being developed by Mozilla.


HPUX

public static final OperatingSystemFamily HPUX
HP-UX (Hewlett Packard UniX) is a commercial Unix operating system from Hewlett-Packard and is based on UNIX System V.


HAIKU

public static final OperatingSystemFamily HAIKU
Haiku (formerly OpenBeOS) is an open-source project with the aim, to reprogram and expand that in 2001 abandoned operating system BeOS.


IRIX

public static final OperatingSystemFamily IRIX
IRIX is a commercial Unix operating system of the company Silicon Graphics (SGI).


INFERNO_OS

public static final OperatingSystemFamily INFERNO_OS
Inferno is a distributed computer operating system that comes from Bell Laboratories.


JVM

public static final OperatingSystemFamily JVM
The Java Virtual Machine (abbreviated Java VM or JVM) is the part of the Java Runtime Environment (JRE) for Java programs, which is responsible for the execution of Java bytecode.

This value is not an operating system family.


LINUX

public static final OperatingSystemFamily LINUX
Linux or GNU/Linux are usually called free, unix-like multi-user operating systems running based on the Linux kernel and other GNU software.


MAC_OS

public static final OperatingSystemFamily MAC_OS
Mac OS is the name of the classic operating system (1984-2001) by Apple for Macintosh computers.


MEEGO

public static final OperatingSystemFamily MEEGO
MeeGo was a Linux kernel-based free mobile operating system project resulting from the fusion of Intel's Moblin and Nokia's Maemo operating systems.


MINIX

public static final OperatingSystemFamily MINIX
Minix is a free unixoides operating system that was developed by Andrew S. Tanenbaum at the Free University of Amsterdam as a teaching tool.


OPENVMS

public static final OperatingSystemFamily OPENVMS
OpenVMS (Open Virtual Memory System), previously known as VAX-11/VMS, VAX/VMS or (informally) VMS, is a computer server operating system that runs on VAX, Alpha and Itanium-based families of computers.


OS_X

public static final OperatingSystemFamily OS_X
OS X, formerly Mac OS X, is a Unix-based operating systems developed by Apple. It is a proprietary distribution of the free Darwin operating system from Apple.


MORPHOS

public static final OperatingSystemFamily MORPHOS
MorphOS is an Amiga-compatible computer operating system. It is a mixed proprietary and open source OS produced for the Pegasos PowerPC processor based computer.


NINTENDO

public static final OperatingSystemFamily NINTENDO
This value indicates the operating systems from Nintendo, which they developed for their devices.

This value is not an operating system family.


OS_2

public static final OperatingSystemFamily OS_2
OS/2 is a multitasking operating system for PCs. It was originally developed by IBM and Microsoft together with the aim to replace DOS.


PALM_OS

public static final OperatingSystemFamily PALM_OS
Palm OS was the operating system for organizer of the Palm series (known as PDAs) and smartphones.


PLAYSTATION_VITA

public static final OperatingSystemFamily PLAYSTATION_VITA
The PlayStation Vita system software is the official, updatable firmware and operating system for the PlayStation Vita.


QNX

public static final OperatingSystemFamily QNX
QNX is a POSIX-compatible proprietary Unix-like real-time operating system that focused primarily at the embedded market.


RISC_OS

public static final OperatingSystemFamily RISC_OS
RISC OS is a computer operating system originally designed by Acorn Computers Ltd. It was specifically designed to run on the ARM chipset, which Acorn had designed concurrently for use in its new line of Archimedes personal computers.


BREW

public static final OperatingSystemFamily BREW
Binary Runtime Environment for Wireless (Brew MP, Brew, or BREW) is an application development platform created by Qualcomm.


BLACKBERRY_OS

public static final OperatingSystemFamily BLACKBERRY_OS
BlackBerry OS (up to the fifth edition known as the BlackBerry Device Software, also known as Research In Motion OS) is a proprietary mobile operating system developed by BlackBerry Ltd for its BlackBerry line of smartphone handheld devices.


SAILFISH_OS

public static final OperatingSystemFamily SAILFISH_OS
Sailfish is a Linux-based mobile operating system developed by Jolla in cooperation with the Mer project and supported by the Sailfish Alliance.


SOLARIS

public static final OperatingSystemFamily SOLARIS
Solaris is the name of an operating system distribution based on SunOS and is a Unix operating system. Since the takeover of Sun Microsystems in 2010 Solaris is part of Oracle.


SYLLABLE

public static final OperatingSystemFamily SYLLABLE
Syllable is a slim and fast desktop Unix-like operating system for x86 processors.


SYMBIAN

public static final OperatingSystemFamily SYMBIAN
The Symbian platform, simply called Symbian, is an operating system for smartphones and PDAs. The Symbian platform is the successor to Symbian OS


TIZEN

public static final OperatingSystemFamily TIZEN
Tizen is a free operating system based on Linux respectively Debian and was launched by the Linux Foundation and LiMo Foundation.


WII_OS

public static final OperatingSystemFamily WII_OS
The Wii Operating System is based on Nintendo’s proprietary software and runs on the Wii video game console.


WINDOWS

public static final OperatingSystemFamily WINDOWS
Microsoft Windows is a trademark for operating systems of the Microsoft Corporation. Microsoft Windows was originally a graphical extension of the operating system MS-DOS.


XROSSMEDIABAR

public static final OperatingSystemFamily XROSSMEDIABAR
XrossMediaBar (XMB) is the name of the graphical user interface, which are used on PlayStation 3, PlayStation Portable, Sony Blu-Ray players and Sony Bravia TVs. Also some special versions of the PlayStation 2, PSX, already using the XMB.


IOS

public static final OperatingSystemFamily IOS
iOS (until June 2010 iPhone OS) is the standard operating system of Apple products like iPhone, iPod touch, iPad, and the second generation of Apple TV. iOS is based on Mac OS X.


WEBOS

public static final OperatingSystemFamily WEBOS
webOS is a smartphone and tablet operating system from Hewlett-Packard (formerly HP Palm). It represents the follower of Palm OS.


UNKNOWN

public static final OperatingSystemFamily UNKNOWN
Unknown operating system family

This value will be returned if the operating system family cannot be determined.

Method Detail

values

public static OperatingSystemFamily[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OperatingSystemFamily c : OperatingSystemFamily.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OperatingSystemFamily valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

evaluate

public static OperatingSystemFamily evaluate(@Nonnull
                                             java.lang.String family)
This method try to find by the given family name a matching enum value. The family name must match against an operating system entry in UAS data file.

Parameters:
family - name of an operating system family
Returns:
the matching enum value or OperatingSystemFamily#UNKNOWN
Throws:
net.sf.qualitycheck.exception.IllegalNullArgumentException - if the given argument is null

evaluateByName

protected static OperatingSystemFamily evaluateByName(@Nonnull
                                                      java.lang.String family)
This method try to find by the given family name a matching enum value. The family name will be evaluated against the stored name of an operating system entry.

Parameters:
family - name of an operating system family
Returns:
the matching enum value or OperatingSystemFamily#UNKNOWN
Throws:
net.sf.qualitycheck.exception.IllegalNullArgumentException - if the given argument is null

evaluateByPattern

protected static OperatingSystemFamily evaluateByPattern(@Nonnull
                                                         java.lang.String family)
This method try to find by the given family name a matching enum value. The family name will be evaluated against the stored regular expression of an operating system entry.

Parameters:
family - name of an operating system family
Returns:
the matching enum value or OperatingSystemFamily#UNKNOWN
Throws:
net.sf.qualitycheck.exception.IllegalNullArgumentException - if the given argument is null

getName

@Nonnull
public java.lang.String getName()
Gets the internal family name in the UAS database.

Returns:
the internal family name

getPattern

@Nonnull
public java.util.regex.Pattern getPattern()
Gets the regular expression which a family name must be match with.

Returns:
regular expression


Copyright © 2011-2014. All Rights Reserved.