Enum Constant and Description |
---|
BR |
EUNE |
EUW |
JP |
KR |
LAN |
LAS |
NA |
OCE |
RU |
TR |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost() |
java.lang.String |
getId() |
java.lang.String |
getName() |
static Platform |
getPlatformById(java.lang.String id) |
static Platform |
getPlatformByName(java.lang.String name) |
java.lang.String |
toString() |
static Platform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform BR
public static final Platform EUNE
public static final Platform EUW
public static final Platform JP
public static final Platform KR
public static final Platform LAN
public static final Platform LAS
public static final Platform NA
public static final Platform OCE
public static final Platform RU
public static final Platform TR
public static Platform[] values()
for (Platform c : Platform.values()) System.out.println(c);
public static Platform valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Platform getPlatformById(java.lang.String id)
public static Platform getPlatformByName(java.lang.String name)
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getHost()
public java.lang.String toString()
toString
in class java.lang.Enum<Platform>