Class URLResourceLoader

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PlexusResource getResource​(java.lang.String name)
      Get an InputStream so that the Runtime can build a template with it.
      • Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled

        enableLogging, getLogger, setupLogger, setupLogger, setupLogger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • templateRoots

        protected java.util.Map templateRoots
    • Constructor Detail

      • URLResourceLoader

        public URLResourceLoader()
    • Method Detail

      • getResource

        public PlexusResource getResource​(java.lang.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.