|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.data.impl.LineFeederFromStream
public class LineFeederFromStream
A line feeder implementation that works on file.
Version History
EPG - Initial - 10 MAY 05
| Constructor Summary | |
|---|---|
LineFeederFromStream()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getNextLine()
Get the next line as a String. |
void |
init(java.io.InputStream ios)
Init the feeder. |
int |
lineNumber()
Get the number of the current line (last one read). |
java.lang.String |
peekNextLine()
peek at next line, but don't read it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineFeederFromStream()
| Method Detail |
|---|
public void init(java.io.InputStream ios)
throws ThingsException
ios - InputStream source
thingss.common.ThingsException
ThingsExceptionpublic java.lang.String getNextLine()
getNextLine in interface LineFeederpublic java.lang.String peekNextLine()
peekNextLine in interface LineFeederpublic int lineNumber()
lineNumber in interface LineFeeder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||