public final class ResourceHelper extends Object
| Modifier | Constructor and Description |
|---|---|
private |
ResourceHelper() |
| Modifier and Type | Method and Description |
|---|---|
private static TraversableAmetysObject |
_getResourceRoot(AmetysObject object)
Get the resource root of an ametys object.
|
static TraversableAmetysObject |
getResourceRoot(Resource resource)
Get the resource root of a resource.
|
static TraversableAmetysObject |
getResourceRoot(ResourceCollection collection)
Get the resource root of a resource collection.
|
private ResourceHelper()
public static TraversableAmetysObject getResourceRoot(Resource resource)
resource - The resource.public static TraversableAmetysObject getResourceRoot(ResourceCollection collection)
collection - The resource collection.private static TraversableAmetysObject _getResourceRoot(AmetysObject object)
object - The object.