com.atlassian.bamboo.util
Class HtmlAnsiColorsOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.fusesource.jansi.AnsiOutputStream
              extended by com.atlassian.bamboo.util.HtmlAnsiColorsOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

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_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
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
HtmlAnsiColorsOutputStream(java.io.OutputStream os)
           
 
Method Summary
protected  void processAttributeRest()
           
protected  void processSetAttribute(int attribute)
           
protected  void processSetBackgroundColor(int color)
           
protected  void processSetForegroundColor(int color)
           
 void writeLine(java.lang.String line)
           
 
Methods inherited from class org.fusesource.jansi.AnsiOutputStream
close, processCursorDown, processCursorDownLine, processCursorLeft, processCursorRight, processCursorTo, processCursorToColumn, processCursorUp, processCursorUpLine, processEraseLine, processEraseScreen, processRestoreCursorPosition, processSaveCursorPosition, processScrollDown, processScrollUp, processUnknownExtension, write
 
Methods inherited from class java.io.FilterOutputStream
flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlAnsiColorsOutputStream

public HtmlAnsiColorsOutputStream(java.io.OutputStream os)
Method Detail

writeLine

public void writeLine(java.lang.String line)
               throws java.io.IOException
Throws:
java.io.IOException

processSetAttribute

protected void processSetAttribute(int attribute)
                            throws java.io.IOException
Overrides:
processSetAttribute in class org.fusesource.jansi.AnsiOutputStream
Throws:
java.io.IOException

processAttributeRest

protected void processAttributeRest()
                             throws java.io.IOException
Overrides:
processAttributeRest in class org.fusesource.jansi.AnsiOutputStream
Throws:
java.io.IOException

processSetForegroundColor

protected void processSetForegroundColor(int color)
                                  throws java.io.IOException
Overrides:
processSetForegroundColor in class org.fusesource.jansi.AnsiOutputStream
Throws:
java.io.IOException

processSetBackgroundColor

protected void processSetBackgroundColor(int color)
                                  throws java.io.IOException
Overrides:
processSetBackgroundColor in class org.fusesource.jansi.AnsiOutputStream
Throws:
java.io.IOException


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.