flattree.flat
Interface WriteLine

All Superinterfaces:
Line, Position
All Known Implementing Classes:
DelimitedWriteLine, FixedLengthWriteLine, StringWriteLine

public interface WriteLine
extends Line

A line to write to.


Method Summary
 void flush()
          Flush all contents.
 void write(char character)
          Write the next character.
 
Methods inherited from interface flattree.flat.Position
getColumnIndex, getIndex, getRowIndex
 

Method Detail

write

void write(char character)
Write the next character.

Parameters:
character - character to write
Throws:
IllegalStateException - if already flush()ed

flush

void flush()
Flush all contents. Should be called only once, no invocations of write(char) are allowed afterwards.



Copyright © 2011. All Rights Reserved.