public class IOUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
copy(InputStream input,
OutputStream output) |
static long |
copy(InputStream input,
OutputStream output,
long offset,
long limit) |
static byte[] |
toBytes(InputStream in) |
static byte[] |
toBytes(InputStream in,
long offset,
long limit) |
static String |
toString(InputStream in) |
static String |
toString(InputStream in,
long offset,
long limit) |
public static long copy(InputStream input, OutputStream output) throws IOException
IOExceptionpublic static long copy(InputStream input, OutputStream output, long offset, long limit) throws IOException
IOExceptionpublic static byte[] toBytes(InputStream in) throws IOException
IOExceptionpublic static byte[] toBytes(InputStream in, long offset, long limit) throws IOException
IOExceptionpublic static String toString(InputStream in) throws IOException
IOExceptionpublic static String toString(InputStream in, long offset, long limit) throws IOException
IOExceptionCopyright © 2014–2017. All rights reserved.