|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gentics.api.lib.etc.ObjectTransformer.InputStreamReaderRunnable
public static class ObjectTransformer.InputStreamReaderRunnable
Helper class that extends Runnable to read data from an input stream in a separate thread
| Constructor Summary | |
|---|---|
ObjectTransformer.InputStreamReaderRunnable(java.io.InputStream stream)
Create an instance of the helper class that will read from the given stream using the default charset |
|
ObjectTransformer.InputStreamReaderRunnable(java.io.InputStream stream,
java.lang.String charset)
Create an instance of the helper class that will read from the given stream using the given charset |
|
| Method Summary | |
|---|---|
java.lang.String |
getString()
Get the read string or null if more data can be read from the stream |
java.lang.Throwable |
getThrowable()
Get the throwable, if one was caught reading from the stream |
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectTransformer.InputStreamReaderRunnable(java.io.InputStream stream)
stream - stream to read from
public ObjectTransformer.InputStreamReaderRunnable(java.io.InputStream stream,
java.lang.String charset)
stream - stream to read fromcharset - charset to use| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic java.lang.Throwable getThrowable()
public java.lang.String getString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||