Enum Constant and Description |
---|
BLOG |
CONTRIBUTOR |
HOME |
OTHER |
OTHER_PROFILE |
PROFILE |
WORK |
Modifier and Type | Method and Description |
---|---|
static UrlType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UrlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlType HOME
public static final UrlType WORK
public static final UrlType BLOG
public static final UrlType PROFILE
public static final UrlType OTHER
public static final UrlType OTHER_PROFILE
public static final UrlType CONTRIBUTOR
public static UrlType[] values()
for (UrlType c : UrlType.values()) System.out.println(c);
public static UrlType 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