org.scribble.common.resource
Interface ResourceLocator

All Known Implementing Classes:
DefaultResourceLocator

public interface ResourceLocator

This interface represents a resource locator that can be used to load artifacts relative to another resource being processed.


Method Summary
 URI getResourceURI(String uri)
          This method can be used to retrieve the URI of a resource which is located at the specified URI, potentially relative to a resource that is being processed.
 

Method Detail

getResourceURI

URI getResourceURI(String uri)
                   throws Exception
This method can be used to retrieve the URI of a resource which is located at the specified URI, potentially relative to a resource that is being processed.

Parameters:
uri - The relative URI of the resource to load
Returns:
The URI, or null if not found
Throws:
Exception - Failed to obtain URI


Copyright © 2008-Present Scribble.org. All Rights Reserved.