org.crsh.text
Class ChunkAdapter
java.lang.Object
org.crsh.text.ChunkAdapter
- All Implemented Interfaces:
- Flushable, Pipe<Object>
public class ChunkAdapter
- extends Object
- implements Pipe<Object>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
private final LinkedList<Object> buffer
- .
renderable
private Renderable renderable
- .
out
private final RenderAppendable out
- .
ChunkAdapter
public ChunkAdapter(RenderingContext out)
provide
public void provide(Object element)
throws IOException
- Description copied from interface:
Pipe
- Provide an element.
- Specified by:
provide in interface Pipe<Object>
- Parameters:
element - the provided element
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface Flushable
- Throws:
IOException
send
public void send()
throws IOException
- Throws:
IOException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.