org.jpop.io
Class ThreadedStreamReader

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jpop.io.ThreadedStreamReader
All Implemented Interfaces:
java.lang.Runnable

public class ThreadedStreamReader
extends java.lang.Thread

Reads a stream and dumps the stuff it reads into a JTextArea

Version:
1.0
Author:
dsm

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ThreadedStreamReader(OutputTextPane pane, java.lang.String name)
          Constructor for ThreadedStreamReader
 
Method Summary
 void run()
          Main processing method for the ThreadedStreamReader object
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThreadedStreamReader

public ThreadedStreamReader(OutputTextPane pane,
                            java.lang.String name)
Constructor for ThreadedStreamReader

Parameters:
name - The name of the thread
pane -
Method Detail

run

public void run()
Main processing method for the ThreadedStreamReader object