com.intel.gpe.constants
Enum OSType
java.lang.Object
java.lang.Enum<OSType>
com.intel.gpe.constants.OSType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<OSType>
public enum OSType
- extends java.lang.Enum<OSType>
- Version:
- $Id: OSType.java,v 1.2 2006/07/21 11:28:56 baklushin Exp $
- Author:
- Alexei Baklushin
Method Summary |
static OSType |
fromString(java.lang.String value)
|
java.lang.String |
getValue()
|
static OSType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
unknown
public static final OSType unknown
mac_os
public static final OSType mac_os
msdos
public static final OSType msdos
win3x
public static final OSType win3x
win95
public static final OSType win95
win98
public static final OSType win98
winNT
public static final OSType winNT
winCE
public static final OSType winCE
linux
public static final OSType linux
values
public static final OSType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(OSType c : OSType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static 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 name
getValue
public java.lang.String getValue()
fromString
public static OSType fromString(java.lang.String value)
Copyright © 2008. All Rights Reserved.