|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceManager
| Field Summary | |
|---|---|
static String |
ROLE
|
| Method Summary | |
|---|---|
void |
addSearchPath(String resourceLoaderId,
String searchPath)
|
void |
createResourceAsFile(PlexusResource resource,
File outputFile)
Downloads the resource to the given output file. |
PlexusResource |
getResource(String name)
Searches for a resource with the given name. |
File |
getResourceAsFile(PlexusResource resource)
Returns a file with the given resources contents. |
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 |
|---|
static final String ROLE
| Method Detail |
|---|
InputStream getResourceAsInputStream(String name)
throws ResourceNotFoundException
ResourceNotFoundException
File getResourceAsFile(String name)
throws ResourceNotFoundException,
FileResourceCreationException
ResourceNotFoundException
FileResourceCreationException
File getResourceAsFile(String name,
String outputFile)
throws ResourceNotFoundException,
FileResourceCreationException
ResourceNotFoundException
FileResourceCreationExceptionvoid setOutputDirectory(File outputDirectory)
void addSearchPath(String resourceLoaderId,
String searchPath)
File resolveLocation(String location,
String localfile)
throws IOException
IOException
File resolveLocation(String location)
throws IOException
IOException
PlexusResource getResource(String name)
throws ResourceNotFoundException
ResourceNotFoundException
File getResourceAsFile(PlexusResource resource)
throws FileResourceCreationException
FileResourceCreationException
void createResourceAsFile(PlexusResource resource,
File outputFile)
throws FileResourceCreationException
FileResourceCreationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||