Class FileResourceLoader
java.lang.Object
org.codehaus.plexus.resource.loader.AbstractResourceLoader
org.codehaus.plexus.resource.loader.FileResourceLoader
- All Implemented Interfaces:
ResourceLoader
- Version:
- $Id$
-
Field Summary
FieldsFields inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader
paths
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String name) Returns the resource with the given name.static File
getResourceAsFile
(String name, String outputPath, File outputDirectory) Deprecated.Methods inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader
addSearchPath, getResourceAsInputStream
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
FileResourceLoader
public FileResourceLoader()
-
-
Method Details
-
getResource
Description copied from interface:ResourceLoader
Returns the resource with the given name.- Parameters:
name
- The resources name.- Returns:
- The resource with the given name.
- Throws:
ResourceNotFoundException
- The resource wasn't found, or wasn't available.
-
getResourceAsFile
@Deprecated public static File getResourceAsFile(String name, String outputPath, File outputDirectory) throws FileResourceCreationException Deprecated.- Throws:
FileResourceCreationException
-
ResourceManager.getResourceAsFile(PlexusResource)
.