|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.plugin.FileItem
A plugin that takes a file input stream and returns the whole file.
Constructor Summary | |
FileItem(java.io.FileInputStream inStream)
Construct a FileItem plugin from an InputStream. |
Method Summary | |
java.io.InputStream |
getInputStream()
Get the InputStream for the InputPlugin. |
boolean |
isEOF()
Determine if the reader has hit EOF. |
ReaderResult |
read()
Get next input buffer, which will be the whole file |
ReaderPlugin |
setEOF()
The reader has hit EOF. |
ReaderPlugin |
setInputStream(java.io.InputStream inStream)
Set the InputStream for the InputPlugin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileItem(java.io.FileInputStream inStream)
Method Detail |
public ReaderResult read() throws java.io.IOException
read
in interface ReaderPlugin
java.io.IOException
public boolean isEOF()
isEOF
in interface ReaderPlugin
public ReaderPlugin setEOF()
setEOF
in interface ReaderPlugin
public java.io.InputStream getInputStream()
getInputStream
in interface ReaderPlugin
public ReaderPlugin setInputStream(java.io.InputStream inStream)
setInputStream
in interface ReaderPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |