Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
RawStreamPumper(InputStream in,
OutputStream out)
Constructor for RawStreamPumper.
|
RawStreamPumper(InputStream in,
OutputStream out,
boolean poll)
Constructor for RawStreamPumper.
|
Modifier and Type | Method and Description |
---|---|
void |
closeInput()
closeInput.
|
void |
closeOutput()
closeOutput.
|
void |
run() |
void |
setDone()
Setter for the field
done . |
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
public RawStreamPumper(InputStream in, OutputStream out, boolean poll)
Constructor for RawStreamPumper.
in
- a InputStream
objectout
- a OutputStream
objectpoll
- a booleanpublic RawStreamPumper(InputStream in, OutputStream out)
Constructor for RawStreamPumper.
in
- a InputStream
objectout
- a OutputStream
objectpublic void setDone()
Setter for the field done
.
public void closeInput() throws IOException
closeInput.
IOException
- if any.public void closeOutput() throws IOException
closeOutput.
IOException
- if any.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.