|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResourceFolderType>
com.android.resources.ResourceFolderType
public enum ResourceFolderType
Enum representing a type of resource folder.
Enum Constant Summary | |
---|---|
ANIM
|
|
ANIMATOR
|
|
COLOR
|
|
DRAWABLE
|
|
INTERPOLATOR
|
|
LAYOUT
|
|
MENU
|
|
MIPMAP
|
|
RAW
|
|
TRANSITION
|
|
VALUES
|
|
XML
|
Method Summary | |
---|---|
static ResourceFolderType |
getFolderType(java.lang.String folderName)
Returns the ResourceFolderType from the folder name |
java.lang.String |
getName()
Returns the folder name for this resource folder type. |
static ResourceFolderType |
getTypeByName(java.lang.String name)
Returns the enum by name. |
static ResourceFolderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResourceFolderType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ResourceFolderType ANIM
public static final ResourceFolderType ANIMATOR
public static final ResourceFolderType COLOR
public static final ResourceFolderType DRAWABLE
public static final ResourceFolderType INTERPOLATOR
public static final ResourceFolderType LAYOUT
public static final ResourceFolderType MENU
public static final ResourceFolderType MIPMAP
public static final ResourceFolderType RAW
public static final ResourceFolderType TRANSITION
public static final ResourceFolderType VALUES
public static final ResourceFolderType XML
Method Detail |
---|
public static ResourceFolderType[] values()
for (ResourceFolderType c : ResourceFolderType.values()) System.out.println(c);
public static ResourceFolderType 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static ResourceFolderType getTypeByName(java.lang.String name)
name
- The enum string value.
public static ResourceFolderType getFolderType(java.lang.String folderName)
ResourceFolderType
from the folder name
folderName
- The name of the folder. This must be a valid folder name in the format
resType[-resqualifiers[-resqualifiers[...]]
ResourceFolderType
representing the type of the folder, or
null
if no matching type was found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |