public final class IOUtils extends Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeQuietly(Closeable closeable) |
static int |
copy(InputStream input,
OutputStream output) |
static int |
copy(InputStream input,
OutputStream output,
int bufferSize) |
static void |
copy(ReadableByteChannel src,
WritableByteChannel dest) |
static int |
copyQuietly(InputStream input,
OutputStream output) |
static String |
toString(InputStream in) |
static String |
toString(Reader reader) |
static String |
toString(Reader reader,
int bufferSize) |
public static void closeQuietly(Closeable closeable)
public static int copyQuietly(InputStream input, OutputStream output)
public static int copy(InputStream input, OutputStream output) throws IOException
IOExceptionpublic static int copy(InputStream input, OutputStream output, int bufferSize) throws IOException
IOExceptionpublic static String toString(InputStream in) throws IOException
IOExceptionpublic static String toString(Reader reader) throws IOException
IOExceptionpublic static String toString(Reader reader, int bufferSize) throws IOException
IOExceptionpublic static void copy(ReadableByteChannel src, WritableByteChannel dest) throws IOException
IOExceptionCopyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.