public class StreamUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
StreamUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(File file,
OutputStream outputStream) |
static int |
copy(InputStream in,
OutputStream out) |
public static final int BUFFER_SIZE
public static int copy(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static void copy(File file, OutputStream outputStream)
Copyright © 2021. All rights reserved.