public class ResourceManager extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(IResource target) |
IResource |
findInResource(long ptr) |
static ResourceManager |
newResourceManager(ResourceManager parent) |
void |
releaseAll(IResource except)
All resources will be released.
|
void |
removeResource(IResource resource) |
public IResource findInResource(long ptr)
ptr - the reference pointer to be searchedpublic void releaseAll(IResource except)
except - the resource to be excluded from the clearancepublic void removeResource(IResource resource)
resource - the resource to be removed from the managerpublic void addResource(IResource target)
target - the resource to be added to the managerpublic static ResourceManager newResourceManager(ResourceManager parent)
parent - the parent resource manager