Class HtmlAnsiOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.fusesource.jansi.AnsiOutputStream
-
- io.quarkus.deployment.dev.testing.HtmlAnsiOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class HtmlAnsiOutputStream extends org.fusesource.jansi.AnsiOutputStream
-
-
Field Summary
-
Fields inherited from class org.fusesource.jansi.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_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, RESET_CODE, REST_CODE, WHITE, YELLOW
-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description HtmlAnsiOutputStream(OutputStream os)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidprocessAttributeRest()protected voidprocessSetAttribute(int attribute)protected voidprocessSetBackgroundColor(int color, boolean bright)protected voidprocessSetBackgroundColorExt(int paletteIndex)protected voidprocessSetBackgroundColorExt(int r, int g, int b)protected voidprocessSetForegroundColor(int color, boolean bright)protected voidprocessSetForegroundColorExt(int paletteIndex)protected voidprocessSetForegroundColorExt(int r, int g, int b)voidwrite(int data)voidwriteLine(byte[] buf, int offset, int len)-
Methods inherited from class org.fusesource.jansi.AnsiOutputStream
processChangeIconName, processChangeIconNameAndWindowTitle, processChangeWindowTitle, processCharsetSelect, processCursorDown, processCursorDownLine, processCursorLeft, processCursorRight, processCursorTo, processCursorToColumn, processCursorUp, processCursorUpLine, processDefaultBackgroundColor, processDefaultTextColor, processDeleteLine, processEraseLine, processEraseScreen, processInsertLine, processRestoreCursorPosition, processSaveCursorPosition, processScrollDown, processScrollUp, processSetBackgroundColor, processSetForegroundColor, processUnknownExtension, processUnknownOperatingSystemCommand
-
Methods inherited from class java.io.FilterOutputStream
flush, write, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
HtmlAnsiOutputStream
public HtmlAnsiOutputStream(OutputStream os)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
write
public void write(int data) throws IOException- Overrides:
writein classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
writeLine
public void writeLine(byte[] buf, int offset, int len) throws IOException- Throws:
IOException
-
processSetAttribute
protected void processSetAttribute(int attribute) throws IOException- Overrides:
processSetAttributein classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
processAttributeRest
protected void processAttributeRest() throws IOException- Overrides:
processAttributeRestin classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
processSetForegroundColor
protected void processSetForegroundColor(int color, boolean bright) throws IOException- Overrides:
processSetForegroundColorin classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
processSetBackgroundColor
protected void processSetBackgroundColor(int color, boolean bright) throws IOException- Overrides:
processSetBackgroundColorin classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
processSetForegroundColorExt
protected void processSetForegroundColorExt(int r, int g, int b) throws IOException- Overrides:
processSetForegroundColorExtin classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
processSetBackgroundColorExt
protected void processSetBackgroundColorExt(int r, int g, int b) throws IOException- Overrides:
processSetBackgroundColorExtin classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
processSetForegroundColorExt
protected void processSetForegroundColorExt(int paletteIndex) throws IOException- Overrides:
processSetForegroundColorExtin classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
processSetBackgroundColorExt
protected void processSetBackgroundColorExt(int paletteIndex) throws IOException- Overrides:
processSetBackgroundColorExtin classorg.fusesource.jansi.AnsiOutputStream- Throws:
IOException
-
-