Package org.daisy.dotify.common.io
Interface ResourceLocator
-
- All Known Implementing Classes:
AbstractResourceLocator
public interface ResourceLocatorProvides a method for locating resources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URLgetResource(String subpath)Gets the URL for the given resource path.
-
-
-
Method Detail
-
getResource
URL getResource(String subpath) throws ResourceLocatorException
Gets the URL for the given resource path.- Parameters:
subpath- the path to the resource- Returns:
- returns the URL for the given resource
- Throws:
ResourceLocatorException- if the resource could not be found
-
-