Package org.daisy.dotify.common.io
Interface ResourceLocator
-
- All Known Implementing Classes:
AbstractResourceLocator
public interface ResourceLocator
Provides a method for locating resources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URL
getResource(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
-
-