Class ResourceDescriptor
- java.lang.Object
-
- org.nuxeo.runtime.services.resource.ResourceDescriptor
-
public class ResourceDescriptor extends Object
A pointer to a template located in the contributor bundle.- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description ResourceDescriptor()
ResourceDescriptor(String name, Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getFile()
String
getName()
Resource
getResource()
URI
getUri()
URL
getUrl()
void
setName(String name)
void
setResource(Resource resource)
String
toString()
-
-
-
Constructor Detail
-
ResourceDescriptor
public ResourceDescriptor()
-
ResourceDescriptor
public ResourceDescriptor(String name, Resource resource)
-
-
Method Detail
-
getResource
public Resource getResource()
-
setResource
public void setResource(Resource resource)
-
getUri
public URI getUri() throws URISyntaxException
- Throws:
URISyntaxException
-
getFile
public File getFile() throws URISyntaxException
- Throws:
URISyntaxException
-
-