Class DefaultResourceManager

  • All Implemented Interfaces:
    org.codehaus.plexus.logging.LogEnabled, ResourceManager

    @Component(role=ResourceManager.class,
               instantiationStrategy="per-lookup")
    public class DefaultResourceManager
    extends org.codehaus.plexus.logging.AbstractLogEnabled
    implements ResourceManager
    Version:
    $Id$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSearchPath​(java.lang.String id, java.lang.String path)  
      void createResourceAsFile​(PlexusResource resource, java.io.File outputFile)
      Downloads the resource to the given output file.
      PlexusResource getResource​(java.lang.String name)
      Searches for a resource with the given name.
      java.io.File getResourceAsFile​(java.lang.String name)  
      java.io.File getResourceAsFile​(java.lang.String name, java.lang.String outputPath)  
      java.io.File getResourceAsFile​(PlexusResource resource)
      Returns a file with the given resources contents.
      java.io.InputStream getResourceAsInputStream​(java.lang.String name)  
      java.io.File resolveLocation​(java.lang.String name)
      Provides compatibility with the Locator utility used by several Maven Plugins.
      java.io.File resolveLocation​(java.lang.String name, java.lang.String outputPath)
      Provides compatibility with the Locator utility used by several Maven Plugins.
      void setOutputDirectory​(java.io.File outputDirectory)  
      • 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