public class StreamUtil extends Object
| Constructor and Description |
|---|
StreamUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
streamCopy(InputStream is,
OutputStream os)
Copies an input stream to the output stream
|
static String |
streamToString(InputStream in) |
public static long streamCopy(InputStream is, OutputStream os) throws IOException
is - os - IOExceptionpublic static String streamToString(InputStream in) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.