|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fulcrum.yaafi.framework.util.InputStreamLocator
public class InputStreamLocator
Helper for locating a file name and returning an input stream.
Constructor Summary | |
---|---|
InputStreamLocator()
Constructor |
|
InputStreamLocator(java.io.File rootDir)
Constructor |
|
InputStreamLocator(java.io.File rootDir,
org.apache.avalon.framework.logger.Logger logger)
Constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 usedMethod Detail |
---|
public java.io.InputStream locate(java.lang.String location) throws java.io.IOException
location
- the location of the source to be loaded
java.io.IOException
protected org.apache.avalon.framework.logger.Logger getLogger()
protected java.io.File getRootDir()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |