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