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