private static enum URLVeiwer.PLATFORM extends Enum<URLVeiwer.PLATFORM>
Modifier and Type | Method and Description |
---|---|
static URLVeiwer.PLATFORM |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static URLVeiwer.PLATFORM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final URLVeiwer.PLATFORM WINDOWS
public static final URLVeiwer.PLATFORM MAC
public static final URLVeiwer.PLATFORM UNIX
public static URLVeiwer.PLATFORM[] values()
for (URLVeiwer.PLATFORM c : URLVeiwer.PLATFORM.values()) System.out.println(c);
public static URLVeiwer.PLATFORM 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 null