babase.ranker
Class MessagePanel.GUIOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by babase.ranker.MessagePanel.GUIOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
MessagePanel

public static class MessagePanel.GUIOutputStream
extends java.io.OutputStream


Field Summary
protected  javax.swing.JTextArea _jTextArea
           
protected  int _maxChars
           
protected  int _targetChars
           
protected static java.lang.String replacementString
           
 
Constructor Summary
MessagePanel.GUIOutputStream(javax.swing.JTextArea jTextArea, int maxChars, int targetChars)
           
 
Method Summary
protected  void append(java.lang.String s)
           
 void write(byte[] buf)
           
 void write(byte[] buf, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

replacementString

protected static final java.lang.String replacementString
See Also:
Constant Field Values

_jTextArea

protected javax.swing.JTextArea _jTextArea

_maxChars

protected final int _maxChars

_targetChars

protected final int _targetChars
Constructor Detail

MessagePanel.GUIOutputStream

public MessagePanel.GUIOutputStream(javax.swing.JTextArea jTextArea,
                                    int maxChars,
                                    int targetChars)
Method Detail

append

protected void append(java.lang.String s)

write

public void write(int b)
Specified by:
write in class java.io.OutputStream

write

public void write(byte[] buf)
Overrides:
write in class java.io.OutputStream

write

public void write(byte[] buf,
                  int off,
                  int len)
Overrides:
write in class java.io.OutputStream