Package liquibase.change.core
Class ExecuteShellCommandChange.StreamGobbler
- java.lang.Object
-
- java.lang.Thread
-
- liquibase.change.core.ExecuteShellCommandChange.StreamGobbler
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- ExecuteShellCommandChange
public class ExecuteShellCommandChange.StreamGobbler extends Thread
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description StreamGobbler(InputStream processStream, OutputStream outputStream, Thread parentThread)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copy(InputStream inputStream, OutputStream outputStream)
void
finish()
void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
StreamGobbler
public StreamGobbler(InputStream processStream, OutputStream outputStream, Thread parentThread)
-
-
Method Detail
-
finish
public void finish()
-
copy
public void copy(InputStream inputStream, OutputStream outputStream) throws IOException
- Throws:
IOException
-
-