public static enum NativeComm.OS extends java.lang.Enum<NativeComm.OS>
Enum Constant and Description |
---|
linux
Linux operating system
|
macosx
MacOSX operating system
|
solaris
Solaris/SunOS operating system
|
unknown
unknown operating system
|
win32
Windows 32-bit operating system
|
Modifier and Type | Field and Description |
---|---|
static NativeComm.OS |
current
current host operating system
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isLinux() |
static boolean |
isMacOSX() |
static boolean |
isSolaris() |
static boolean |
isWin32() |
static NativeComm.OS |
valueOf(java.lang.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.
|
public static final NativeComm.OS win32
public static final NativeComm.OS linux
public static final NativeComm.OS macosx
public static final NativeComm.OS solaris
public static final NativeComm.OS unknown
public static final NativeComm.OS current
public static NativeComm.OS[] values()
for (NativeComm.OS c : NativeComm.OS.values()) System.out.println(c);
public static NativeComm.OS 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 static boolean isWin32()
public static boolean isLinux()
public static boolean isMacOSX()
public static boolean isSolaris()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"