public class InputStreamLocator extends Object
Constructor and Description |
---|
InputStreamLocator()
Constructor
|
InputStreamLocator(File rootDir)
Constructor
|
InputStreamLocator(File rootDir,
org.apache.avalon.framework.logger.Logger logger)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.avalon.framework.logger.Logger |
getLogger() |
protected File |
getRootDir() |
InputStream |
locate(String location)
Locate the file with the given position using the following steps
|
public InputStreamLocator()
public InputStreamLocator(File rootDir)
rootDir
- the root directory to start the searchpublic InputStreamLocator(File rootDir, org.apache.avalon.framework.logger.Logger logger)
rootDir
- the root directory to start the searchlogger
- the logger to be usedpublic InputStream locate(String location) throws IOException
location
- the location of the source to be loadedIOException
protected org.apache.avalon.framework.logger.Logger getLogger()
protected File getRootDir()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.