Class URLResourceLoader
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.resource.loader.AbstractResourceLoader
org.codehaus.plexus.resource.loader.URLResourceLoader
- All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled
,ResourceLoader
- Author:
- Jason van Zyl
-
Field Summary
FieldsFields inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader
paths
Fields inherited from interface org.codehaus.plexus.resource.loader.ResourceLoader
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String name) Get an InputStream so that the Runtime can build a template with it.Methods inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader
addSearchPath, getResourceAsInputStream
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
ID
- See Also:
-
templateRoots
-
-
Constructor Details
-
URLResourceLoader
public URLResourceLoader()
-
-
Method Details
-
getResource
Get an InputStream so that the Runtime can build a template with it.- Parameters:
name
- name of template to fetch bytestream of- Returns:
- InputStream containing the template
- Throws:
ResourceNotFoundException
- if template not found in the file template path.
-