| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(byte[] src,
int copyLength,
OutputStream os) |
static int |
copy(InputStream is,
OutputStream os) |
static int |
copy(Reader r,
Writer w) |
static byte[] |
toByteArray(InputStream is) |
static String |
toString(Reader r) |
public static int copy(InputStream is, OutputStream os) throws IOException
IOExceptionpublic static void copy(byte[] src,
int copyLength,
OutputStream os)
throws IOException
IOExceptionpublic static byte[] toByteArray(InputStream is) throws IOException
IOExceptionpublic static int copy(Reader r, Writer w) throws IOException
IOExceptionpublic static String toString(Reader r) throws IOException
IOExceptionCopyright © 2017. All rights reserved.