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 boolean |
isSubFile(File parent,
File child) |
static boolean |
isSubFile(String parent,
String child) |
static String |
toString(InputStream inputStream) |
static void |
unzip(String zipFile,
String extractFolder) |
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)
public static boolean isSubFile(File parent, File child) throws IOException
IOExceptionpublic static boolean isSubFile(String parent, String child) throws IOException
IOExceptionpublic static void unzip(String zipFile, String extractFolder) throws IOException
IOExceptionCopyright © 2021. All rights reserved.