public static enum Subtag.Type extends Enum<Subtag.Type>
Enum Constant and Description |
---|
EXTENSION
Extension subtag
|
EXTLANG
Extended Language subtag
|
GRANDFATHERED
Grandfathered subtag
|
PRIMARY
Primary language subtag
|
PRIVATEUSE
Primary-use subtag
|
REGION
Region subtag
|
SCRIPT
Script subtag
|
SIMPLE
Simple subtag (ranges)
|
SINGLETON
Singleton subtag
|
VARIANT
Variant subtag
|
WILDCARD
Wildcard subtag ("*")
|
Modifier and Type | Method and Description |
---|---|
static Subtag.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subtag.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subtag.Type PRIMARY
public static final Subtag.Type EXTLANG
public static final Subtag.Type SCRIPT
public static final Subtag.Type REGION
public static final Subtag.Type VARIANT
public static final Subtag.Type SINGLETON
public static final Subtag.Type EXTENSION
public static final Subtag.Type PRIVATEUSE
public static final Subtag.Type GRANDFATHERED
public static final Subtag.Type WILDCARD
public static final Subtag.Type SIMPLE
public static Subtag.Type[] values()
for (Subtag.Type c : Subtag.Type.values()) System.out.println(c);
public static Subtag.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 © 2010 - 2020 Adobe. All Rights Reserved