public final class IOUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
fastChannelCopy(InputStream src,
OutputStream dest) |
static void |
fastChannelCopy(ReadableByteChannel src,
WritableByteChannel dest)
copy data from input channel to the output channel
|
static String |
getInputStreamAsString(InputStream is)
converts input stream to string value
|
public static String getInputStreamAsString(InputStream is) throws IOException
is - IOExceptionpublic static void fastChannelCopy(InputStream src, OutputStream dest) throws IOException
IOExceptionpublic static void fastChannelCopy(ReadableByteChannel src, WritableByteChannel dest) throws IOException
src - dest - IOExceptionCopyright © 2010-2017 anotheria.net. All Rights Reserved.