public enum PlatformType extends Enum<PlatformType>
| Enum Constant and Description |
|---|
DEFAULT |
FREE_BSD |
LINUX |
OS_X |
SOLARIS |
WINDOWS |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String[] |
getPatterns() |
String |
getResourceSuffix() |
String |
toString() |
static PlatformType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformType DEFAULT
public static final PlatformType SOLARIS
public static final PlatformType FREE_BSD
public static final PlatformType LINUX
public static final PlatformType OS_X
public static final PlatformType WINDOWS
public static PlatformType[] values()
for (PlatformType c : PlatformType.values()) System.out.println(c);
public static PlatformType 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 getName()
public String[] getPatterns()
public String getResourceSuffix()
public String toString()
toString in class Enum<PlatformType>Copyright © 2009–2016. All rights reserved.