Package com.enonic.xp.resource
Class ResourceKey
- java.lang.Object
-
- com.enonic.xp.resource.ResourceKey
-
@PublicApi public final class ResourceKey extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceKeyassets(ApplicationKey application)booleanequals(Object o)static ResourceKeyfrom(ApplicationKey application, String path)static ResourceKeyfrom(String uri)ApplicationKeygetApplicationKey()StringgetExtension()StringgetName()StringgetPath()StringgetUri()inthashCode()booleanisRoot()ResourceKeyresolve(String relPath)StringtoString()
-
-
-
Method Detail
-
getUri
public String getUri()
-
getApplicationKey
public ApplicationKey getApplicationKey()
-
getPath
public String getPath()
-
getName
public String getName()
-
getExtension
public String getExtension()
-
isRoot
public boolean isRoot()
-
resolve
public ResourceKey resolve(String relPath)
-
from
public static ResourceKey from(String uri)
-
from
public static ResourceKey from(ApplicationKey application, String path)
-
assets
public static ResourceKey assets(ApplicationKey application)
-
-