|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.craftforge.essential.controller.allocation.ResourceTree
public class ResourceTree
A resource tree is a tree of ResourceNodes. A resource tree is created
from all resource classes and their methods contained in a package. It holds
the relationship between the external resource view and the internal
implementations and structures.
| Method Summary | |
|---|---|
ResourceNode |
findResourceNode(String path)
Finds the resource node matching the given (real) path. |
List<ResourceNode> |
findResourceNodesAlongPath(String path)
Finds all resource nodes along a (real) path |
List<ResourceNode> |
findResourceNodesInPathSkippingRoot(String path)
Finds all resource nodes in a (real) path except of the base resource node representing the path. |
static ResourceTree |
getInstance(String packageName)
Gets an instance of a resource tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResourceTree getInstance(String packageName)
packageName - THe package name
public ResourceNode findResourceNode(String path)
path - The path
public List<ResourceNode> findResourceNodesAlongPath(String path)
path - The (real) path
public List<ResourceNode> findResourceNodesInPathSkippingRoot(String path)
path - The (real) path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||