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
ROLE
static final String ROLE
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.