Interface ResourceLocator
-
- All Known Implementing Classes:
CommonModelRegistry
public interface ResourceLocator
Interface to load .class files as resources for processing by the parser.- Author:
- Jerome Dochez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URL
getResource(String name)
Retrieves the URL given a resource nameInputStream
openResourceStream(String name)
Opens and input stream for the resources identified by the parameter name.
-
-
-
Method Detail
-
openResourceStream
InputStream openResourceStream(String name) throws IOException
Opens and input stream for the resources identified by the parameter name.- Parameters:
name
- the resource identification- Returns:
- an input stream, or null if the name does not exist
- Throws:
IOException
- on i/o error
-
-