com.ibm.uddi.promoter
Class StreamEater

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.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.

Author:
IBM

Field Summary
static java.lang.String JAVA_COPYRIGHT
          Deprecated.  
 
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, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JAVA_COPYRIGHT

public static final java.lang.String JAVA_COPYRIGHT
Deprecated. 
See Also:
Constant Field Values
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.

See Also:
Runnable.run()