Constructor and Description |
---|
StreamReaderThread(InputStream in)
Creates a stream reader thread reading the specified
InputStream.
|
Modifier and Type | Method and Description |
---|---|
String |
getOutput()
Waits for the stream to be closed and returns the output
as a string.
|
void |
run()
The thread empties the stream into a buffer and
notifies another waiting thread that the contents
can be returned.
|
public StreamReaderThread(InputStream in)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.