Package org.codelibs.fess.util
Class InputStreamThread
- java.lang.Object
-
- java.lang.Thread
-
- org.codelibs.fess.util.InputStreamThread
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_BUFFER_SIZE-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description InputStreamThread(InputStream is, String charset)InputStreamThread(InputStream is, String charset, int bufferSize, Consumer<String> outputCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String value)StringgetOutput()voidrun()-
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
-
-
-
-
Field Detail
-
MAX_BUFFER_SIZE
public static final int MAX_BUFFER_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InputStreamThread
public InputStreamThread(InputStream is, String charset)
-
InputStreamThread
public InputStreamThread(InputStream is, String charset, int bufferSize, Consumer<String> outputCallback)
-
-