|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.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 |
|---|
private SimpleAttributeSet attributes
private StringBuffer buffer
private boolean isFirstLine
private PrintStream printStream
| Constructor Detail |
|---|
public MessageConsole.ConsoleOutputStream(Color textColor, PrintStream printStream)
| Method Detail |
|---|
private void clearBuffer()
public void flush()
private void handleAppend(String message)
private void handleInsert(String message)
Groovy Documentation