org.sadun.text.ffp
Interface FlatFileParser.LineReader
- Enclosing interface:
- FlatFileParser
- public static interface FlatFileParser.LineReader
Objects implementing this interface allow to access the flat file during parsing, from outside the
parser. This class is not intended for user implementation; rather, a proper implementation is created
and maintained by the parser, and passed as necessary to user-defined objects.
- Author:
- Cristiano Sadun
Method Summary |
java.lang.String |
readLine()
Read a physical line from the file.
|
readLine
public java.lang.String readLine()
throws java.io.IOException
- Read a physical line from the file.
null is returned in case no lines are available.
- Returns:
- a line or null
- Throws:
java.io.IOException
- if a I/O problem occurs when reading the file