public class ResourceDescriptor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected Resource |
resource |
| Constructor and Description |
|---|
ResourceDescriptor() |
ResourceDescriptor(String name,
Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
File |
getFile() |
String |
getName() |
Resource |
getResource() |
URI |
getUri() |
URL |
getUrl() |
void |
setName(String name) |
void |
setResource(Resource resource) |
String |
toString() |
public ResourceDescriptor()
public ResourceDescriptor(String name, Resource resource)
public Resource getResource()
public void setResource(Resource resource)
public URI getUri() throws URISyntaxException
URISyntaxExceptionpublic File getFile() throws URISyntaxException
URISyntaxExceptionCopyright © 2015 Nuxeo SA. All rights reserved.