public class WauzFileUtils
extends java.lang.Object
Constructor and Description |
---|
WauzFileUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
findRelativePathsRecursive(java.io.File folder,
java.lang.String prefix)
Finds all files in a folder and returns a list of relative paths.
|
static boolean |
removeFilesRecursive(java.io.File folder)
Deletes a folder with all of its contents.
|
public static java.util.List<java.lang.String> findRelativePathsRecursive(java.io.File folder, java.lang.String prefix)
folder
- The folder to search in.prefix
- The file path prefix.public static boolean removeFilesRecursive(java.io.File folder)
folder
- The folder to delete.