Package gw.util
Enum OSPlatform.Platform
- java.lang.Object
-
- java.lang.Enum<OSPlatform.Platform>
-
- gw.util.OSPlatform.Platform
-
- All Implemented Interfaces:
Serializable
,Comparable<OSPlatform.Platform>
- Enclosing class:
- OSPlatform
public static enum OSPlatform.Platform extends Enum<OSPlatform.Platform>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PLAT_AIX
PLAT_HPUX
PLAT_LINUX
PLAT_MAC
PLAT_NETWARE
PLAT_OS2
PLAT_SOLARIS
PLAT_UNDEFINED
PLAT_UNINIT
PLAT_WINDOWS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OSPlatform.Platform
valueOf(String name)
Returns the enum constant of this type with the specified name.static OSPlatform.Platform[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAT_UNINIT
public static final OSPlatform.Platform PLAT_UNINIT
-
PLAT_UNDEFINED
public static final OSPlatform.Platform PLAT_UNDEFINED
-
PLAT_WINDOWS
public static final OSPlatform.Platform PLAT_WINDOWS
-
PLAT_MAC
public static final OSPlatform.Platform PLAT_MAC
-
PLAT_SOLARIS
public static final OSPlatform.Platform PLAT_SOLARIS
-
PLAT_LINUX
public static final OSPlatform.Platform PLAT_LINUX
-
PLAT_OS2
public static final OSPlatform.Platform PLAT_OS2
-
PLAT_HPUX
public static final OSPlatform.Platform PLAT_HPUX
-
PLAT_AIX
public static final OSPlatform.Platform PLAT_AIX
-
PLAT_NETWARE
public static final OSPlatform.Platform PLAT_NETWARE
-
-
Method Detail
-
values
public static OSPlatform.Platform[] 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 (OSPlatform.Platform c : OSPlatform.Platform.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OSPlatform.Platform 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
-
-