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
URISyntaxException
public File getFile() throws URISyntaxException
URISyntaxException
Copyright © 2015 Nuxeo SA. All rights reserved.