public final class IOKit extends Object
限定符和类型 | 方法和说明 |
---|---|
static void |
closeQuietly(Closeable closeable) |
static void |
copyFileUsingFileChannels(File source,
File dest) |
static String |
readToString(InputStream input) |
static String |
readToString(String file) |
public static void closeQuietly(Closeable closeable)
public static String readToString(String file) throws IOException
IOException
public static String readToString(InputStream input) throws IOException
IOException
public static void copyFileUsingFileChannels(File source, File dest) throws IOException
IOException
Copyright © 2017. All rights reserved.