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| Constructor and Description |
|---|
HtmlAnsiOutputStream(java.io.OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
processAttributeRest() |
protected void |
processSetAttribute(int attribute) |
protected void |
processSetBackgroundColor(int color,
boolean bright) |
protected void |
processSetForegroundColor(int color,
boolean bright) |
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, processSetBackgroundColor, processSetForegroundColor, processUnknownExtension, processUnknownOperatingSystemCommandpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class AnsiOutputStreamjava.io.IOExceptionpublic void write(int data)
throws java.io.IOException
write in class AnsiOutputStreamjava.io.IOExceptionpublic void writeLine(byte[] buf,
int offset,
int len)
throws java.io.IOException
java.io.IOExceptionprotected void processSetAttribute(int attribute)
throws java.io.IOException
processSetAttribute in class AnsiOutputStreamjava.io.IOExceptionprotected void processAttributeRest()
throws java.io.IOException
processAttributeRest in class AnsiOutputStreamjava.io.IOExceptionprotected void processSetForegroundColor(int color,
boolean bright)
throws java.io.IOException
processSetForegroundColor in class AnsiOutputStreamjava.io.IOExceptionprotected void processSetBackgroundColor(int color,
boolean bright)
throws java.io.IOException
processSetBackgroundColor in class AnsiOutputStreamjava.io.IOExceptionCopyright © 2009-2016 FuseSource, Corp.. All Rights Reserved.