com.liferay.maven.plugins.util
Class FileUtil
java.lang.Object
com.liferay.maven.plugins.util.FileUtil
public class FileUtil
- extends Object
- Author:
- Brian Wing Shun Chan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtil
public FileUtil()
copyDirectory
public static void copyDirectory(File source,
File destination)
throws IOException
- Throws:
IOException
copyFile
public static void copyFile(File source,
File destination)
throws IOException
- Throws:
IOException
delete
public static void delete(File file)
throws IOException
- Throws:
IOException
getExtension
public static String getExtension(String fileName)
mkdirs
public static void mkdirs(String pathName)
move
public static boolean move(File source,
File destination)
Copyright © 2013. All Rights Reserved.