Package org.omegat.util
Enum Platform.OsType
- java.lang.Object
-
- java.lang.Enum<Platform.OsType>
-
- org.omegat.util.Platform.OsType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Platform.OsType>
- Enclosing class:
- Platform
public static enum Platform.OsType extends java.lang.Enum<Platform.OsType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Platform.OsType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Platform.OsType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINUX64
public static final Platform.OsType LINUX64
-
LINUX32
public static final Platform.OsType LINUX32
-
MAC64
public static final Platform.OsType MAC64
-
MAC32
public static final Platform.OsType MAC32
-
WIN64
public static final Platform.OsType WIN64
-
WIN32
public static final Platform.OsType WIN32
-
OTHER
public static final Platform.OsType OTHER
-
-
Method Detail
-
values
public static Platform.OsType[] 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 (Platform.OsType c : Platform.OsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Platform.OsType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-