org.codehaus.plexus.resource.loader

Class URLResourceLoader

public class URLResourceLoader extends AbstractResourceLoader

Author: Jason van Zyl

UNKNOWN: role-hint="url"

Field Summary
protected HashMaptemplateRoots
Method Summary
InputStreamgetResourceAsInputStream(String name)
Get an InputStream so that the Runtime can build a template with it.

Field Detail

templateRoots

protected HashMap templateRoots

Method Detail

getResourceAsInputStream

public InputStream getResourceAsInputStream(String name)
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.