public class AnsiOutputStream extends FilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected static int |
ATTRIBUTE_BLINK_FAST |
protected static int |
ATTRIBUTE_BLINK_OFF |
protected static int |
ATTRIBUTE_BLINK_SLOW |
protected static int |
ATTRIBUTE_CONCEAL_OFF |
protected static int |
ATTRIBUTE_CONCEAL_ON |
protected static int |
ATTRIBUTE_INTENSITY_BOLD |
protected static int |
ATTRIBUTE_INTENSITY_FAINT |
protected static int |
ATTRIBUTE_INTENSITY_NORMAL |
protected static int |
ATTRIBUTE_ITALIC |
protected static int |
ATTRIBUTE_NEGATIVE_Off |
protected static int |
ATTRIBUTE_NEGATIVE_ON |
protected static int |
ATTRIBUTE_UNDERLINE |
protected static int |
ATTRIBUTE_UNDERLINE_DOUBLE |
protected static int |
ATTRIBUTE_UNDERLINE_OFF |
protected static int |
BLACK |
protected static int |
BLUE |
protected static int |
CYAN |
protected static int |
ERASE_LINE |
protected static int |
ERASE_LINE_TO_BEGINING |
protected static int |
ERASE_LINE_TO_END |
protected static int |
ERASE_SCREEN |
protected static int |
ERASE_SCREEN_TO_BEGINING |
protected static int |
ERASE_SCREEN_TO_END |
protected static int |
GREEN |
protected static int |
MAGENTA |
protected static int |
RED |
static byte[] |
REST_CODE |
protected static int |
WHITE |
protected static int |
YELLOW |
out
Constructor and Description |
---|
AnsiOutputStream(OutputStream os) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
processAttributeRest() |
protected void |
processChangeIconName(String label) |
protected void |
processChangeIconNameAndWindowTitle(String label) |
protected void |
processChangeWindowTitle(String label) |
protected void |
processCursorDown(int count) |
protected void |
processCursorDownLine(int count) |
protected void |
processCursorLeft(int count) |
protected void |
processCursorRight(int count) |
protected void |
processCursorTo(int row,
int col) |
protected void |
processCursorToColumn(int x) |
protected void |
processCursorUp(int count) |
protected void |
processCursorUpLine(int count) |
protected void |
processDefaultBackgroundColor() |
protected void |
processDefaultTextColor() |
protected void |
processEraseLine(int eraseOption) |
protected void |
processEraseScreen(int eraseOption) |
protected void |
processRestoreCursorPosition() |
protected void |
processSaveCursorPosition() |
protected void |
processScrollDown(int optionInt) |
protected void |
processScrollUp(int optionInt) |
protected void |
processSetAttribute(int attribute) |
protected void |
processSetBackgroundColor(int color) |
protected void |
processSetForegroundColor(int color) |
protected void |
processUnknownExtension(ArrayList<Object> options,
int command) |
protected void |
processUnknownOperatingSystemCommand(int command,
String param) |
void |
write(int data) |
flush, write, write
public static final byte[] REST_CODE
protected static final int ERASE_SCREEN_TO_END
protected static final int ERASE_SCREEN_TO_BEGINING
protected static final int ERASE_SCREEN
protected static final int ERASE_LINE_TO_END
protected static final int ERASE_LINE_TO_BEGINING
protected static final int ERASE_LINE
protected static final int ATTRIBUTE_INTENSITY_BOLD
protected static final int ATTRIBUTE_INTENSITY_FAINT
protected static final int ATTRIBUTE_ITALIC
protected static final int ATTRIBUTE_UNDERLINE
protected static final int ATTRIBUTE_BLINK_SLOW
protected static final int ATTRIBUTE_BLINK_FAST
protected static final int ATTRIBUTE_NEGATIVE_ON
protected static final int ATTRIBUTE_CONCEAL_ON
protected static final int ATTRIBUTE_UNDERLINE_DOUBLE
protected static final int ATTRIBUTE_INTENSITY_NORMAL
protected static final int ATTRIBUTE_UNDERLINE_OFF
protected static final int ATTRIBUTE_BLINK_OFF
protected static final int ATTRIBUTE_NEGATIVE_Off
protected static final int ATTRIBUTE_CONCEAL_OFF
protected static final int BLACK
protected static final int RED
protected static final int GREEN
protected static final int YELLOW
protected static final int BLUE
protected static final int MAGENTA
protected static final int CYAN
protected static final int WHITE
public AnsiOutputStream(OutputStream os)
public void write(int data) throws IOException
write
in class FilterOutputStream
IOException
protected void processRestoreCursorPosition() throws IOException
IOException
protected void processSaveCursorPosition() throws IOException
IOException
protected void processScrollDown(int optionInt) throws IOException
IOException
protected void processScrollUp(int optionInt) throws IOException
IOException
protected void processEraseScreen(int eraseOption) throws IOException
IOException
protected void processEraseLine(int eraseOption) throws IOException
IOException
protected void processSetAttribute(int attribute) throws IOException
IOException
protected void processSetForegroundColor(int color) throws IOException
IOException
protected void processSetBackgroundColor(int color) throws IOException
IOException
protected void processDefaultTextColor() throws IOException
IOException
protected void processDefaultBackgroundColor() throws IOException
IOException
protected void processAttributeRest() throws IOException
IOException
protected void processCursorTo(int row, int col) throws IOException
IOException
protected void processCursorToColumn(int x) throws IOException
IOException
protected void processCursorUpLine(int count) throws IOException
IOException
protected void processCursorDownLine(int count) throws IOException
IOException
protected void processCursorLeft(int count) throws IOException
IOException
protected void processCursorRight(int count) throws IOException
IOException
protected void processCursorDown(int count) throws IOException
IOException
protected void processCursorUp(int count) throws IOException
IOException
protected void processUnknownExtension(ArrayList<Object> options, int command)
protected void processChangeIconNameAndWindowTitle(String label)
protected void processChangeIconName(String label)
protected void processChangeWindowTitle(String label)
protected void processUnknownOperatingSystemCommand(int command, String param)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
Copyright © 2009-2014 FuseSource, Corp.. All Rights Reserved.