hudson.util
Class StreamCopyThread
java.lang.Object
java.lang.Thread
hudson.util.StreamCopyThread
- All Implemented Interfaces:
- Runnable
public class StreamCopyThread
- extends Thread
Thread
that copies InputStream
to OutputStream
.
- Author:
- Kohsuke Kawaguchi
Method Summary |
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 |
StreamCopyThread
public StreamCopyThread(String threadName,
InputStream in,
OutputStream out,
boolean closeOut)
StreamCopyThread
public StreamCopyThread(String threadName,
InputStream in,
OutputStream out)
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
Copyright © 2004-2013. All Rights Reserved.