Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ResourceKey |
from(ModuleKey module,
String path) |
static ResourceKey |
from(String uri) |
static ResourceKey |
from(URL url) |
String |
getExtension() |
ModuleKey |
getModule() |
String |
getName() |
String |
getPath() |
String |
getUri() |
int |
hashCode() |
boolean |
isRoot() |
ResourceKey |
resolve(String relPath) |
String |
toString() |
public String getUri()
public ModuleKey getModule()
public String getPath()
public String getName()
public String getExtension()
public boolean isRoot()
public ResourceKey resolve(String relPath)
public static ResourceKey from(String uri)
public static ResourceKey from(ModuleKey module, String path)
public static ResourceKey from(URL url)