public class AnsiOutputStream
extends java.io.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 |
| Constructor and Description |
|---|
AnsiOutputStream(java.io.OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
processAttributeRest() |
protected void |
processChangeIconName(java.lang.String label) |
protected void |
processChangeIconNameAndWindowTitle(java.lang.String label) |
protected void |
processChangeWindowTitle(java.lang.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 |
processSetBackgroundColor(int color,
boolean bright) |
protected void |
processSetForegroundColor(int color) |
protected void |
processSetForegroundColor(int color,
boolean bright) |
protected void |
processUnknownExtension(java.util.ArrayList<java.lang.Object> options,
int command) |
protected void |
processUnknownOperatingSystemCommand(int command,
java.lang.String param) |
void |
write(int data) |
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 void write(int data)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionprotected void processRestoreCursorPosition()
throws java.io.IOException
java.io.IOExceptionprotected void processSaveCursorPosition()
throws java.io.IOException
java.io.IOExceptionprotected void processScrollDown(int optionInt)
throws java.io.IOException
java.io.IOExceptionprotected void processScrollUp(int optionInt)
throws java.io.IOException
java.io.IOExceptionprotected void processEraseScreen(int eraseOption)
throws java.io.IOException
java.io.IOExceptionprotected void processEraseLine(int eraseOption)
throws java.io.IOException
java.io.IOExceptionprotected void processSetAttribute(int attribute)
throws java.io.IOException
java.io.IOExceptionprotected void processSetForegroundColor(int color)
throws java.io.IOException
java.io.IOExceptionprotected void processSetForegroundColor(int color,
boolean bright)
throws java.io.IOException
java.io.IOExceptionprotected void processSetBackgroundColor(int color)
throws java.io.IOException
java.io.IOExceptionprotected void processSetBackgroundColor(int color,
boolean bright)
throws java.io.IOException
java.io.IOExceptionprotected void processDefaultTextColor()
throws java.io.IOException
java.io.IOExceptionprotected void processDefaultBackgroundColor()
throws java.io.IOException
java.io.IOExceptionprotected void processAttributeRest()
throws java.io.IOException
java.io.IOExceptionprotected void processCursorTo(int row,
int col)
throws java.io.IOException
java.io.IOExceptionprotected void processCursorToColumn(int x)
throws java.io.IOException
java.io.IOExceptionprotected void processCursorUpLine(int count)
throws java.io.IOException
java.io.IOExceptionprotected void processCursorDownLine(int count)
throws java.io.IOException
java.io.IOExceptionprotected void processCursorLeft(int count)
throws java.io.IOException
java.io.IOExceptionprotected void processCursorRight(int count)
throws java.io.IOException
java.io.IOExceptionprotected void processCursorDown(int count)
throws java.io.IOException
java.io.IOExceptionprotected void processCursorUp(int count)
throws java.io.IOException
java.io.IOExceptionprotected void processUnknownExtension(java.util.ArrayList<java.lang.Object> options,
int command)
protected void processChangeIconNameAndWindowTitle(java.lang.String label)
protected void processChangeIconName(java.lang.String label)
protected void processChangeWindowTitle(java.lang.String label)
protected void processUnknownOperatingSystemCommand(int command,
java.lang.String param)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionCopyright © 2009-2016 FuseSource, Corp.. All Rights Reserved.