public class Streams extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
Streams() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(InputStream in,
OutputStream out) |
static void |
readFully(InputStream in,
byte[] bytes) |
static String |
toString(Reader reader) |
public static final int BUFFER_SIZE
public static void copy(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static String toString(Reader reader) throws IOException
IOExceptionpublic static void readFully(InputStream in, byte[] bytes) throws IOException
IOExceptionCopyright © 2021. All rights reserved.