Package org.astrogrid.samp
Class Platform.StreamReader
- java.lang.Object
-
- java.lang.Thread
-
- org.astrogrid.samp.Platform.StreamReader
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- Platform
private static class Platform.StreamReader extends java.lang.Thread
Thread which reads the contents of a stream into a string buffer.
-
-
Constructor Summary
Constructors Constructor Description StreamReader(java.io.InputStream in)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContent()
Returns the content of the stream.void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-