|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.utils.FolderUtils
public class FolderUtils
This class contains some file utilities needed in the application. It provides static methods to delete all files and/or folders in a file folder.
Constructor Summary | |
---|---|
FolderUtils()
|
Method Summary | |
---|---|
static void |
removeFilesAndFoldersInFolder(java.lang.String folder)
Remove all the files and folders found at the given path |
static void |
removeFilesInFolder(java.lang.String folder)
Remove all the files found at the given path |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FolderUtils()
Method Detail |
---|
public static void removeFilesInFolder(java.lang.String folder)
folder
- the path to the folder of which to remove all filespublic static void removeFilesAndFoldersInFolder(java.lang.String folder)
folder
- the path to the folder of which to remove all files and folders
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |