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)
count < 0
).public void put(char[] data, int off, int len)
public void write(int ch)
write
in class java.io.Writer
public void write1(int ch)
public void write(char[] data, int off, int len)
write
in class java.io.Writer
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.Writer
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Writer
public void run()
run
in interface java.lang.Runnable