public enum SystemType extends Enum<SystemType>
| Enum Constant and Description |
|---|
MAC
Mac OS.
|
SOLARIS
Solaris OS.
|
UNIX
Unix OS.
|
UNKNOWN
Unknown OS type.
|
WINDOWS
Windows OS.
|
| Modifier and Type | Method and Description |
|---|---|
String |
shortName()
Returns OS short name.
|
static SystemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemType WINDOWS
public static final SystemType MAC
public static final SystemType UNIX
public static final SystemType SOLARIS
public static final SystemType UNKNOWN
public static SystemType[] values()
for (SystemType c : SystemType.values()) System.out.println(c);
public static SystemType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String shortName()
Copyright © 2020. All rights reserved.