public static enum TopLevelDomain.Type extends Enum<TopLevelDomain.Type>
Enum Constant and Description |
---|
COUNTRY |
GENERIC |
INFRASTRUCTURE |
Modifier and Type | Method and Description |
---|---|
static TopLevelDomain.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopLevelDomain.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopLevelDomain.Type INFRASTRUCTURE
public static final TopLevelDomain.Type GENERIC
public static final TopLevelDomain.Type COUNTRY
public static TopLevelDomain.Type[] values()
for (TopLevelDomain.Type c : TopLevelDomain.Type.values()) System.out.println(c);
public static TopLevelDomain.Type 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 nullCopyright © 2014 The Apache Software Foundation