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

public class URLResourceLoader extends AbstractResourceLoader
Author:
Jason van Zyl
  • Field Details

  • Constructor Details

    • URLResourceLoader

      public URLResourceLoader()
  • Method Details

    • getResource

      public PlexusResource getResource(String name) throws ResourceNotFoundException
      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.