|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.timeindexing.plugin.DefaultReader
com.timeindexing.plugin.Line
public class Line
A plugin that takes an input stream and returns a line at a time.
| Constructor Summary | |
|---|---|
Line(java.io.BufferedReader inReader)
Construct a Line plugin from a BufferedReader. |
|
Line(java.io.InputStream inStream)
Construct a Line plugin from an InputStream. |
|
Line(java.io.Reader inReader)
Construct a Line plugin from a Reader. |
|
| Method Summary | |
|---|---|
protected boolean |
eofProcess()
Processing at EOF. |
protected ReaderResult |
process(java.lang.String line)
Process the line |
ReaderResult |
read()
Get next input buffer. |
| Methods inherited from class com.timeindexing.plugin.DefaultReader |
|---|
getInputStream, isEOF, setEOF, setInputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.timeindexing.plugin.ReaderPlugin |
|---|
getInputStream, isEOF, setEOF, setInputStream |
| Constructor Detail |
|---|
public Line(java.io.InputStream inStream)
public Line(java.io.Reader inReader)
public Line(java.io.BufferedReader inReader)
| Method Detail |
|---|
public ReaderResult read()
throws java.io.IOException
read in interface ReaderPluginjava.io.IOExceptionprotected ReaderResult process(java.lang.String line)
protected boolean eofProcess()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||