org.codehaus.plexus.resource.loader
Class FileResourceLoader
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.resource.loader.AbstractResourceLoader
org.codehaus.plexus.resource.loader.FileResourceLoader
- All Implemented Interfaces:
- org.codehaus.plexus.logging.LogEnabled, ResourceLoader
public class FileResourceLoader
- extends AbstractResourceLoader
- Version:
- $Id: FileResourceLoader.java 4955 2006-12-03 02:45:07Z jvanzyl $
- Author:
- Trygve Laugstøl, Jason van Zyl
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 |
ID
public static final String ID
- See Also:
- Constant Field Values
FileResourceLoader
public FileResourceLoader()
getResourceAsInputStream
public InputStream getResourceAsInputStream(String name)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
getResourceAsFile
public static File getResourceAsFile(String name,
String outputPath,
File outputDirectory)
throws FileResourceCreationException
- Throws:
FileResourceCreationException
Copyright © 2001-2012 Codehaus. All Rights Reserved.