public class DirectoryManager extends Object
Constructor and Description |
---|
DirectoryManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkCreateCleanDir(String directoryName)
Check if the directory exists.
|
boolean |
deleteDirectory(File path)
Recursively delete the directory and all its content (files and nested directories)
|
public boolean checkCreateCleanDir(String directoryName)
directoryName
- the full path of the directorypublic boolean deleteDirectory(File path)
path
- the full path of the directory to deleteCopyright © 2016. All rights reserved.