public abstract class FileUtils extends Object
| Constructor and Description |
|---|
FileUtils() |
public static void copyFile(String from, String to) throws IOException
IOExceptionpublic static byte[] readFile(File file) throws IOException
file - The file to read.IOException - Error readiong file.public static void writeFile(byte[] bytes,
File file)
throws IOException
IOExceptionpublic static boolean deleteDir(File dir)
dir - The directory to be deleted.Copyright © 2013. All rights reserved.