public static class ObjectTransformer.InputStreamReaderRunnable extends Object implements Runnable
Runnable
to read data from an input stream in a separate threadConstructor and Description |
---|
ObjectTransformer.InputStreamReaderRunnable(InputStream stream)
Create an instance of the helper class that will read from the given stream using the default charset
|
ObjectTransformer.InputStreamReaderRunnable(InputStream stream,
String charset)
Create an instance of the helper class that will read from the given stream using the given charset
|
Modifier and Type | Method and Description |
---|---|
String |
getString()
Get the read string or null if more data can be read from the stream
|
Throwable |
getThrowable()
Get the throwable, if one was caught reading from the stream
|
void |
run() |
public ObjectTransformer.InputStreamReaderRunnable(InputStream stream)
stream
- stream to read frompublic ObjectTransformer.InputStreamReaderRunnable(InputStream stream, String charset)
stream
- stream to read fromcharset
- charset to useCopyright © 2016 Gentics Software GmbH. All Rights Reserved.