Modifier and Type | Field and Description |
---|---|
static int |
SLEEPING_TIME |
Constructor and Description |
---|
InputStreamPumper(InputStream is,
OutputStream os)
Create a new stream pumper.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Copies data from the input stream to the output stream.
|
void |
stopProcessing() |
public static final int SLEEPING_TIME
public InputStreamPumper(InputStream is, OutputStream os)
is
- input stream to read data fromos
- output stream to write data to.Copyright © 2021 The Apache Software Foundation. All rights reserved.