public class OutputBuffer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
clean()
Cleans (clears) the buffer.
|
void |
close()
Closes the output buffer.
|
void |
flush()
Flushs the data in the stream, calling the callback with appropriate
flags if necessary.
|
Callable |
getCallback()
Returns the callback for this output buffer.
|
int |
getChunkSize()
Returns the chunk size.
|
Value |
getContents()
Returns the buffer contents.
|
boolean |
getEraseFlag()
Returns the erase flag.
|
long |
getLength()
Returns the buffer length.
|
int |
getLevel()
Returns the nesting level.
|
OutputBuffer |
getNext()
Returns the next output buffer;
|
WriteStream |
getOut()
Returns the writer.
|
boolean |
haveFlushed()
Returns true if this buffer has ever been flushed.
|
void |
setCallback(Callback callback)
Sets the callback for this output buffer.
|
public OutputBuffer getNext()
public WriteStream getOut()
public Value getContents()
public long getLength()
public int getLevel()
public boolean haveFlushed()
public boolean getEraseFlag()
public int getChunkSize()
public void clean()
public void flush()
public void close()
public Callable getCallback()
public void setCallback(Callback callback)