Package com.adobe.versioncue.nativecomm
Enum NativeComm.OS
- java.lang.Object
-
- java.lang.Enum<NativeComm.OS>
-
- com.adobe.versioncue.nativecomm.NativeComm.OS
-
- All Implemented Interfaces:
Serializable
,Comparable<NativeComm.OS>
- Enclosing class:
- NativeComm
public static enum NativeComm.OS extends Enum<NativeComm.OS>
Host operating system enum
-
-
Field Summary
Fields Modifier and Type Field Description static NativeComm.OS
current
current host operating system
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isLinux()
static boolean
isMacOSX()
static boolean
isSolaris()
static boolean
isWin32()
static NativeComm.OS
valueOf(String name)
Returns the enum constant of this type with the specified name.static NativeComm.OS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
win32
public static final NativeComm.OS win32
Windows 32-bit operating system
-
linux
public static final NativeComm.OS linux
Linux operating system
-
macosx
public static final NativeComm.OS macosx
MacOSX operating system
-
solaris
public static final NativeComm.OS solaris
Solaris/SunOS operating system
-
unknown
public static final NativeComm.OS unknown
unknown operating system
-
-
Field Detail
-
current
public static final NativeComm.OS current
current host operating system
-
-
Method Detail
-
values
public static NativeComm.OS[] 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 (NativeComm.OS c : NativeComm.OS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NativeComm.OS valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isWin32
public static boolean isWin32()
- Returns:
- true if running on windows operating system
-
isLinux
public static boolean isLinux()
- Returns:
- true if running on linux operating system
-
isMacOSX
public static boolean isMacOSX()
- Returns:
- true if running on macosx operating system
-
isSolaris
public static boolean isSolaris()
- Returns:
- true if running on solaris operating system
-
-