org.codehaus.plexus.resource
Interface ResourceManager

All Known Implementing Classes:
DefaultResourceManager

public interface ResourceManager

Version:
$Id: ResourceManager.java 4955 2006-12-03 02:45:07Z jvanzyl $
Author:
Trygve Laugstøl, Jason van Zyl

Field Summary
static String ROLE
           
 
Method Summary
 void addSearchPath(String resourceLoaderId, String searchPath)
           
 File getResourceAsFile(String name)
           
 File getResourceAsFile(String name, String outputFile)
           
 InputStream getResourceAsInputStream(String name)
           
 File resolveLocation(String location)
          Deprecated.  
 File resolveLocation(String location, String localfile)
          Deprecated.  
 void setOutputDirectory(File outputDirectory)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

getResourceAsInputStream

InputStream getResourceAsInputStream(String name)
                                     throws ResourceNotFoundException
Throws:
ResourceNotFoundException

getResourceAsFile

File getResourceAsFile(String name)
                       throws ResourceNotFoundException,
                              FileResourceCreationException
Throws:
ResourceNotFoundException
FileResourceCreationException

getResourceAsFile

File getResourceAsFile(String name,
                       String outputFile)
                       throws ResourceNotFoundException,
                              FileResourceCreationException
Throws:
ResourceNotFoundException
FileResourceCreationException

setOutputDirectory

void setOutputDirectory(File outputDirectory)

addSearchPath

void addSearchPath(String resourceLoaderId,
                   String searchPath)

resolveLocation

File resolveLocation(String location,
                     String localfile)
                     throws IOException
Deprecated. 

Provides compatibility with the Locator utility used by several Maven Plugins.

Throws:
IOException

resolveLocation

File resolveLocation(String location)
                     throws IOException
Deprecated. 

Provides compatibility with the Locator utility used by several Maven Plugins.

Throws:
IOException


Copyright © 2001-2012 Codehaus. All Rights Reserved.