Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.services.resource
Class ResourceDescriptor

java.lang.Object
  extended by 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
ResourceDescriptor()
           
ResourceDescriptor(String name, Resource resource)
           
 
Method Summary
 File getFile()
           
 String getName()
           
 Resource getResource()
           
 URI getUri()
           
 URL getUrl()
           
 void setName(String name)
           
 void setResource(Resource resource)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceDescriptor

public ResourceDescriptor()

ResourceDescriptor

public ResourceDescriptor(String name,
                          Resource resource)
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

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.