public class IoUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
IoUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
copy(InputStream in,
OutputStream out) |
static long |
copy(InputStream in,
OutputStream out,
LongConsumer progress) |
static long |
write(String string,
OutputStream out) |
public static final int BUFFER_SIZE
public static long copy(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static long copy(InputStream in, OutputStream out, LongConsumer progress) throws IOException
IOExceptionpublic static long write(String string, OutputStream out) throws IOException
IOExceptionCopyright © 2023. All rights reserved.