public final class FileTools extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
FileTools() |
| Modifier and Type | Method and Description |
|---|---|
static int |
copy(InputStream in,
OutputStream out) |
static byte[] |
copyToByteArray(InputStream in) |
public static final int BUFFER_SIZE
public static byte[] copyToByteArray(InputStream in) throws IOException
IOExceptionpublic static int copy(InputStream in, OutputStream out) throws IOException
IOExceptionCopyright © 2024. All rights reserved.