Enum Renderer.OS
- java.lang.Object
-
- java.lang.Enum<Renderer.OS>
-
- com.priint.pubserver.comet.renderer.Renderer.OS
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Renderer.OS>
- Enclosing class:
- Renderer
public static enum Renderer.OS extends java.lang.Enum<Renderer.OS> implements java.io.Serializable
The Enum OS.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Renderer.OSvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Renderer.OS[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAC
public static final Renderer.OS MAC
The mac.
-
WINDOWS
public static final Renderer.OS WINDOWS
The windows.
-
UNIX
public static final Renderer.OS UNIX
The unix.
-
UNKNOWN
public static final Renderer.OS UNKNOWN
The unknown.
-
-
Method Detail
-
values
public static Renderer.OS[] 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 (Renderer.OS c : Renderer.OS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Renderer.OS 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
-
-