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()
-
-
-
Method Detail
-
getResource
public Resource getResource()
-
getName
public String getName()
-
setName
public void setName(String name)
-
setResource
public void setResource(Resource resource)
-
getUrl
public URL getUrl()
-
getUri
public URI getUri() throws URISyntaxException
- Throws:
URISyntaxException
-
getFile
public File getFile() throws URISyntaxException
- Throws:
URISyntaxException
-
-