net.obsearch.index.utils
Class Directory
java.lang.Object
net.obsearch.index.utils.Directory
public final class Directory
- extends Object
Utility class to manipulate directories.
- Since:
- 0.7
- Author:
- Arnoldo Jose Muller Molina
Method Summary |
static void |
deleteDirectory(File dbFolder)
Delete the given directory and all its contents. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deleteDirectory
public static void deleteDirectory(File dbFolder)
throws IOException
- Delete the given directory and all its contents.
- Parameters:
dbFolder
- The directory to delete.
- Throws:
IOException
- If the operation is not succesful.
Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.