|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.nutch.util.FileUtil
A collection of file-processing util methods
Constructor Summary | |
FileUtil()
|
Method Summary | |
static boolean |
copyContents(File src,
File dst,
boolean overwrite)
Copy a file's contents to a new location. |
static boolean |
fullyDelete(File dir)
Delete a directory and all its contents. |
static void |
recursiveCopy(File src,
File dst)
Copy a file and/or directory and all its contents (whether data or other files/dirs) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileUtil()
Method Detail |
public static boolean fullyDelete(File dir) throws IOException
IOException
public static boolean copyContents(File src, File dst, boolean overwrite) throws IOException
IOException
public static void recursiveCopy(File src, File dst) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |