flattree.flat
Interface ReadLine

All Superinterfaces:
Line, Position
All Known Implementing Classes:
DelimitedReadLine, EmptyReadLine, FixedLengthReadLine, LazyReadLine, StringReadLine

public interface ReadLine
extends Line

A line to read from.


Field Summary
static char END
          Return value of read() if line is drained.
 
Method Summary
 void drain()
          Drain this line, i.e.
 char read()
          Read the next character.
 
Methods inherited from interface flattree.flat.Position
getColumnIndex, getIndex, getRowIndex
 

Field Detail

END

static final char END
Return value of read() if line is drained.

See Also:
Constant Field Values
Method Detail

read

char read()
Read the next character.

Returns:
the next character or END

drain

void drain()
Drain this line, i.e. discard all remaining characters.



Copyright © 2011. All Rights Reserved.