public class StreamUtil extends Object
| Constructor and Description |
|---|
StreamUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
copyStream(InputStream input,
OutputStream output)
Copies a stream
|
static long |
copyStream(InputStream input,
OutputStream output,
StreamProgressCallback callback)
Copies a stream with progress callback
|
public static long copyStream(InputStream input, OutputStream output) throws IOException
input - output - IOExceptionpublic static long copyStream(InputStream input, OutputStream output, StreamProgressCallback callback) throws IOException
input - output - IOExceptionCopyright © 2013. All Rights Reserved.