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