public class IOUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static IOException |
close(Closeable closeable) |
static IOException |
close(InputStream input) |
static IOException |
close(OutputStream output) |
static IOException |
close(Reader input) |
static IOException |
close(Writer output) |
static IOException |
close(ZipFile zip) |
static void |
copy(InputStream in,
OutputStream out) |
static byte[] |
getBytes(InputStream input) |
static String |
toString(InputStream inputStream) |
public static String toString(InputStream inputStream) throws IOException
IOExceptionpublic static void copy(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static byte[] getBytes(InputStream input) throws IOException
IOExceptionpublic static IOException close(InputStream input)
public static IOException close(OutputStream output)
public static IOException close(Reader input)
public static IOException close(Writer output)
public static IOException close(Closeable closeable)
public static IOException close(ZipFile zip)
Copyright © 2018–2021. All rights reserved.