things.data
Interface LineFeeder

All Known Implementing Classes:
LineFeederFromStream

public interface LineFeeder

A line feeder mechanism.

Version:
1.0

Version History

EPG - Initial - 13 JAN 05
 
Author:
Erich P. Gatejen

Method Summary
 java.lang.String getNextLine()
          Get the next line as a String.
 int lineNumber()
          Get the number of the current line (last one read), starting from the number one.
 java.lang.String peekNextLine()
          peek at next line, but don't read it.
 

Method Detail

getNextLine

java.lang.String getNextLine()
Get the next line as a String. It will return null if there is nothing left to give.

Returns:
the next line

peekNextLine

java.lang.String peekNextLine()
peek at next line, but don't read it.

Returns:
the next line

lineNumber

int lineNumber()
Get the number of the current line (last one read), starting from the number one.

Returns:
the next line


Things.