com.ibm.uddi.promoter
Class StreamEater

java.lang.Object
  extended by java.lang.Thread
      extended by com.ibm.uddi.promoter.StreamEater
All Implemented Interfaces:
java.lang.Runnable

Deprecated. Use the PromoterAPI interface, as this class may not be supported in future release.

public class StreamEater
extends java.lang.Thread

Reads the contents of one stream and directly outputs that to a PrintWriter.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
StreamEater(java.io.InputStream inputStream, java.io.PrintStream outputStream)
          Deprecated. Constructs a new StreamEater to read from the input stream and output to the output stream.
 
Method Summary
 void run()
          Deprecated. Constantly tries to read from the input stream and outputs each line read to output stream.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

StreamEater

public StreamEater(java.io.InputStream inputStream,
                   java.io.PrintStream outputStream)
Deprecated. 
Constructs a new StreamEater to read from the input stream and output to the output stream.

Parameters:
inputStream -
outputStream -
Method Detail

run

public void run()
Deprecated. 
Constantly tries to read from the input stream and outputs each line read to output stream.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
Runnable.run()