Class JarResourceLoader

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSearchPath​(java.lang.String path)  
      PlexusResource getResource​(java.lang.String source)
      Get an InputStream so that the Runtime can build a template with it.
      void initialize()  
      • 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
    • Constructor Detail

      • JarResourceLoader

        public JarResourceLoader()
    • Method Detail

      • initialize

        public void initialize()
                        throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
        Throws:
        org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
      • getResource

        public PlexusResource getResource​(java.lang.String source)
                                   throws ResourceNotFoundException
        Get an InputStream so that the Runtime can build a template with it.
        Parameters:
        source - name of template to get
        Returns:
        InputStream containing the template
        Throws:
        ResourceNotFoundException - if template not found in the file template path.