vs
Class AgentLauncher.TextAreaOutputStream
java.lang.Object
java.io.OutputStream
vs.AgentLauncher.TextAreaOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
- Enclosing class:
- AgentLauncher
public class AgentLauncher.TextAreaOutputStream
- extends java.io.OutputStream
To pipe output towards JTextArea
From http://forum.java.sun.com/thread.jspa?threadID=771727&messageID=4397099
- Author:
- swartjes
Methods inherited from class java.io.OutputStream |
flush, write, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentLauncher.TextAreaOutputStream
public AgentLauncher.TextAreaOutputStream(javax.swing.JTextArea textArea)
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException