Package com.atlassian.bamboo.util
Class HtmlAnsiColorsOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.fusesource.jansi.AnsiOutputStream
com.atlassian.bamboo.util.HtmlAnsiColorsOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class HtmlAnsiColorsOutputStream
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
processSetAttribute
(int attribute) protected void
processSetBackgroundColor
(int color) protected void
processSetForegroundColor
(int color) void
Methods inherited from class org.fusesource.jansi.AnsiOutputStream
close, processChangeIconName, processChangeIconNameAndWindowTitle, processChangeWindowTitle, processCharsetSelect, processCursorDown, processCursorDownLine, processCursorLeft, processCursorRight, processCursorTo, processCursorToColumn, processCursorUp, processCursorUpLine, processDefaultBackgroundColor, processDefaultTextColor, processDeleteLine, processEraseLine, processEraseScreen, processInsertLine, processRestoreCursorPosition, processSaveCursorPosition, processScrollDown, processScrollUp, processSetBackgroundColor, processSetBackgroundColorExt, processSetBackgroundColorExt, processSetForegroundColor, processSetForegroundColorExt, processSetForegroundColorExt, processUnknownExtension, processUnknownOperatingSystemCommand, write
Methods inherited from class java.io.FilterOutputStream
flush, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
HtmlAnsiColorsOutputStream
-
-
Method Details
-
writeLine
- Throws:
IOException
-
processSetAttribute
- Overrides:
processSetAttribute
in classorg.fusesource.jansi.AnsiOutputStream
- Throws:
IOException
-
processAttributeRest
- Overrides:
processAttributeRest
in classorg.fusesource.jansi.AnsiOutputStream
- Throws:
IOException
-
processSetForegroundColor
- Overrides:
processSetForegroundColor
in classorg.fusesource.jansi.AnsiOutputStream
- Throws:
IOException
-
processSetBackgroundColor
- Overrides:
processSetBackgroundColor
in classorg.fusesource.jansi.AnsiOutputStream
- Throws:
IOException
-