SOMA.gui
Class TextAreaOutputStream2

java.lang.Object
  extended byjava.io.OutputStream
      extended bySOMA.gui.TextAreaOutputStream2
All Implemented Interfaces:
java.io.Serializable

public class TextAreaOutputStream2
extends java.io.OutputStream
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 javax.swing.JTextArea miaTextArea
          La JTextArea a cui si fa riferimento per stampare lo stream di output
 
Constructor Summary
TextAreaOutputStream2(javax.swing.JTextArea miaTextArea)
          Costruttore.
 
Method Summary
protected  void StampaSuTextArea(java.lang.String str)
          Metodo interno, usato da tutte le "write"
 void write(byte[] b)
           
 void write(byte[] b, 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

miaTextArea

public javax.swing.JTextArea miaTextArea
La JTextArea a cui si fa riferimento per stampare lo stream di output

Constructor Detail

TextAreaOutputStream2

public TextAreaOutputStream2(javax.swing.JTextArea miaTextArea)
Costruttore.

Method Detail

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

StampaSuTextArea

protected void StampaSuTextArea(java.lang.String str)
Metodo interno, usato da tutte le "write"



Copyright © 2004 Luca Foschini