public enum ResourceFamily extends Enum<ResourceFamily>
Enum Constant and Description |
---|
ACCOUNT |
APPLICATION |
BLOCKS |
DIRECT_MESSAGES |
FOLLOWERS |
FRIENDS |
FRIENDSHIPS |
GEO |
HELP |
LISTS |
SAVED_SEARCHES |
SEARCH |
STATUSES |
TRENDS |
USERS |
Modifier and Type | Method and Description |
---|---|
static ResourceFamily |
getResourceFamily(String name) |
String |
toString() |
static ResourceFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceFamily ACCOUNT
public static final ResourceFamily APPLICATION
public static final ResourceFamily BLOCKS
public static final ResourceFamily DIRECT_MESSAGES
public static final ResourceFamily FOLLOWERS
public static final ResourceFamily FRIENDS
public static final ResourceFamily FRIENDSHIPS
public static final ResourceFamily GEO
public static final ResourceFamily HELP
public static final ResourceFamily LISTS
public static final ResourceFamily SAVED_SEARCHES
public static final ResourceFamily SEARCH
public static final ResourceFamily STATUSES
public static final ResourceFamily TRENDS
public static final ResourceFamily USERS
public static ResourceFamily[] values()
for (ResourceFamily c : ResourceFamily.values()) System.out.println(c);
public static ResourceFamily 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 nullpublic String toString()
toString
in class Enum<ResourceFamily>
public static ResourceFamily getResourceFamily(String name)