|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.resources.FolderTypeRelationship
public final class FolderTypeRelationship
This class gives access to the bidirectional relationship between ResourceType and
ResourceFolderType.
| Constructor Summary | |
|---|---|
FolderTypeRelationship()
|
|
| Method Summary | |
|---|---|
static java.util.List<ResourceFolderType> |
getRelatedFolders(ResourceType resType)
Returns a list of ResourceFolderType that can contain files generating resources
of the specified type. |
static java.util.List<ResourceType> |
getRelatedResourceTypes(ResourceFolderType folderType)
Returns a list of ResourceTypes that can be generated from files inside a folder
of the specified type. |
static boolean |
match(ResourceType resType,
ResourceFolderType folderType)
Returns true if the ResourceType and the ResourceFolderType values match. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FolderTypeRelationship()
| Method Detail |
|---|
public static java.util.List<ResourceType> getRelatedResourceTypes(ResourceFolderType folderType)
ResourceTypes that can be generated from files inside a folder
of the specified type.
folderType - The folder type.
ResourceType, possibly empty but never null.public static java.util.List<ResourceFolderType> getRelatedFolders(ResourceType resType)
ResourceFolderType that can contain files generating resources
of the specified type.
resType - the type of resource.
ResourceFolderType, possibly empty but never null.
public static boolean match(ResourceType resType,
ResourceFolderType folderType)
ResourceType and the ResourceFolderType values match.
resType - the resource type.folderType - the folder type.
ResourceFolderType
could generate a resource of the specified ResourceType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||