|
||||||||||
| 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 ReaderPluginjava.io.IOExceptionpublic boolean isEOF()
isEOF in interface ReaderPluginpublic ReaderPlugin setEOF()
setEOF in interface ReaderPluginpublic java.io.InputStream getInputStream()
getInputStream in interface ReaderPluginpublic 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 | |||||||||