public class BufferWriter
extends java.io.Writer
implements java.lang.Runnable
| Constructor and Description |
|---|
BufferWriter(Buffer buffer) |
BufferWriter(Marker marker,
boolean adjustPoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
int |
handleCSICommand(char ch,
int param,
int position)
Process a single command following CSI.
|
void |
handleEscapeBracket(char ch) |
void |
handleOperatingSystemCommand(char ch) |
int |
handleSetCharacterRendition(int param,
int position)
Process an SGR command with the given code.
|
void |
moveColumns(int count)
Move some number of columns right (or left if count < 0).
|
void |
put(char[] data,
int off,
int len) |
void |
removeChars(int count)
Delete characters - but only in current screen line.
|
void |
run() |
void |
unTabifyRestOfLine() |
void |
write(char[] data,
int off,
int len) |
void |
write(int ch) |
void |
write1(int ch) |
public BufferWriter(Marker marker, boolean adjustPoint)
public BufferWriter(Buffer buffer)
public int handleSetCharacterRendition(int param,
int position)
param - parameter value from the escape sequenceposition - following offset in savedOutput arraypublic void handleOperatingSystemCommand(char ch)
public int handleCSICommand(char ch,
int param,
int position)
ch - the control commandparam - parameter value from the escape sequenceposition - following offset in savedOutput arraypublic void handleEscapeBracket(char ch)
public void unTabifyRestOfLine()
public void removeChars(int count)
public void moveColumns(int count)
public void put(char[] data,
int off,
int len)
public void write(int ch)
write in class java.io.Writerpublic void write1(int ch)
public void write(char[] data,
int off,
int len)
write in class java.io.Writerpublic void flush()
flush in interface java.io.Flushableflush in class java.io.Writerpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerpublic void run()
run in interface java.lang.Runnable