org.crsh.text
Interface LineReader

All Known Implementing Classes:
LabelReader, TableRowReader

public interface LineReader

The line reader.


Method Summary
 boolean hasLine()
          Returns true if the renderer has a next line to render.
 void renderLine(RenderAppendable to)
          Renders the element.
 

Method Detail

hasLine

boolean hasLine()
Returns true if the renderer has a next line to render.

Returns:
when there is at least a next line to read

renderLine

void renderLine(RenderAppendable to)
                throws IllegalStateException
Renders the element.

Parameters:
to - the buffer for rendering
Throws:
IllegalStateException - when there is no line to render


Copyright © 2015 eXo Platform SAS. All Rights Reserved.