Groovy Documentation

com.wordpress.tipsforjava.swing
[Java] Class MessageConsole.ConsoleOutputStream

java.lang.Object
  java.io.OutputStream
      java.io.ByteArrayOutputStream
          com.wordpress.tipsforjava.swing.MessageConsole.ConsoleOutputStream

class MessageConsole.ConsoleOutputStream
extends ByteArrayOutputStream

Field Summary
private SimpleAttributeSet attributes

private StringBuffer buffer

private boolean isFirstLine

private PrintStream printStream

 
Constructor Summary
MessageConsole.ConsoleOutputStream(Color textColor, PrintStream printStream)

 
Method Summary
private void clearBuffer()

void flush()

private void handleAppend(String message)

private void handleInsert(String message)

 
Methods inherited from class ByteArrayOutputStream
toString, toString, toString, size, write, write, close, reset, toByteArray, writeTo, write, flush, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class OutputStream
write, write, write, flush, close, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

attributes

private SimpleAttributeSet attributes


buffer

private StringBuffer buffer


isFirstLine

private boolean isFirstLine


printStream

private PrintStream printStream


 
Constructor Detail

MessageConsole.ConsoleOutputStream

public MessageConsole.ConsoleOutputStream(Color textColor, PrintStream printStream)


 
Method Detail

clearBuffer

private void clearBuffer()


flush

public void flush()


handleAppend

private void handleAppend(String message)


handleInsert

private void handleInsert(String message)


 

Groovy Documentation