public class IOKit extends Object
构造器和说明 |
---|
IOKit() |
限定符和类型 | 方法和说明 |
---|---|
static void |
closeQuietly(Closeable closeable) |
static void |
compressGZIP(File input,
File output) |
static byte[] |
compressGZIPAsString(String content,
Charset charset) |
static void |
copyFile(File source,
File dest) |
static String |
readToString(BufferedReader bufferedReader) |
static String |
readToString(InputStream input) |
static String |
readToString(Path path) |
static String |
readToString(String file) |
public static void closeQuietly(Closeable closeable)
public static String readToString(String file) throws IOException
IOException
public static String readToString(BufferedReader bufferedReader)
public static String readToString(Path path) throws IOException
IOException
public static String readToString(InputStream input) throws IOException
IOException
public static void copyFile(File source, File dest) throws IOException
IOException
public static void compressGZIP(File input, File output) throws IOException
IOException
public static byte[] compressGZIPAsString(String content, Charset charset) throws IOException
IOException
Copyright © 2018. All rights reserved.