|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--com.ibm.uddi.promoter.StreamEater
Reads the contents of one stream and directly outputs that to a PrintWriter.
Field Summary | |
---|---|
static java.lang.String |
java_copyright
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
StreamEater(java.io.InputStream inputStream,
java.io.PrintStream outputStream)
Constructs a new StreamEater to read from the input stream
and output to the output stream. |
Method Summary | |
---|---|
void |
run()
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, 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 |
public static final java.lang.String java_copyright
Constructor Detail |
public StreamEater(java.io.InputStream inputStream, java.io.PrintStream outputStream)
StreamEater
to read from the input stream
and output to the output stream.
inputStream
- outputStream
- Method Detail |
public void run()
run
in class java.lang.Thread
Runnable.run()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |