|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xfp.AttributeContainer org.xfp.Filter org.xfp.filters.file.FileReader
Reads from a file.
Nested Class Summary |
Nested classes inherited from class org.xfp.Filter |
Filter.OnErrorEnum, Filter.OnLoopErrorEnum |
Field Summary |
Fields inherited from class org.xfp.AttributeContainer |
name, parentContainer |
Constructor Summary | |
FileReader()
|
Method Summary | |
java.io.InputStream |
execute()
|
java.io.InputStream |
execute(java.io.File file)
|
java.io.InputStream |
execute(java.lang.String filename)
|
void |
reset()
Resets filter status after execution. |
void |
setFilename(java.lang.String filename)
Sets the name of the file to read from. |
Methods inherited from class org.xfp.Filter |
getOnError, initialize, log, newInstance, perform, toString |
Methods inherited from class org.xfp.AttributeContainer |
configureAttributes, disposeAttributes, getAttributes, getFullName, getName, initializeAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FileReader()
Method Detail |
public java.io.InputStream execute() throws java.lang.Exception
java.lang.Exception
public java.io.InputStream execute(java.lang.String filename) throws java.lang.Exception
java.lang.Exception
public java.io.InputStream execute(java.io.File file) throws java.lang.Exception
java.lang.Exception
public void reset()
Filter
reset
in class Filter
Filter.reset()
public void setFilename(java.lang.String filename)
filename
- The name of the file
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |