public class InputStreamLocator
extends java.lang.Object
Constructor and Description |
---|
InputStreamLocator()
Constructor
|
InputStreamLocator(java.io.File rootDir)
Constructor
|
InputStreamLocator(java.io.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 java.io.File |
getRootDir() |
java.io.InputStream |
locate(java.lang.String location)
Locate the file with the given position using the following steps
|
public InputStreamLocator()
public InputStreamLocator(java.io.File rootDir)
rootDir
- the root directory to start the searchpublic InputStreamLocator(java.io.File rootDir, org.apache.avalon.framework.logger.Logger logger)
rootDir
- the root directory to start the searchlogger
- the logger to be usedpublic java.io.InputStream locate(java.lang.String location) throws java.io.IOException
location
- the location of the source to be loadedjava.io.IOException
protected org.apache.avalon.framework.logger.Logger getLogger()
protected java.io.File getRootDir()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.