|
||||||||||
| 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(File rootDir)
Constructor |
|
InputStreamLocator(File rootDir,
org.apache.avalon.framework.logger.Logger logger)
Constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputStreamLocator()
public InputStreamLocator(File rootDir)
rootDir - the root directory to start the search
public InputStreamLocator(File rootDir,
org.apache.avalon.framework.logger.Logger logger)
rootDir - the root directory to start the searchlogger - the logger to be used| Method Detail |
|---|
public InputStream locate(String location)
throws IOException
location - the location of the source to be loaded
IOExceptionprotected org.apache.avalon.framework.logger.Logger getLogger()
protected File getRootDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||