Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseUrl() |
java.lang.String |
getHostName() |
static Site |
getSite(java.lang.String hostName) |
static Site |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Site[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Site US
public static final Site JP
public static final Site CN3
public static final Site SG
public static final Site EU
public static Site[] values()
for (Site c : Site.values()) System.out.println(c);
public static Site 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 java.lang.String getHostName()
public java.lang.String getBaseUrl()
public static Site getSite(java.lang.String hostName)
Copyright 2015 Kii Corporation. All rights reserved. (Last updated on 2016-10-13 08:55 UTC)