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