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
IOException
public static String toString(Reader reader) throws IOException
IOException
public static void readFully(InputStream in, byte[] bytes) throws IOException
IOException
Copyright © 2022. All rights reserved.