public final class SystemUtilExt extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteRecursively(String _fileOrDirectoryPath,
boolean _stopOnError)
Delete all files and directories in the given path recursively.
|
static void |
deleteRecursivelyQuiet(String _fileOrDirectoryPath)
Delete all files and directories in the given path recursively and without throwing any exception.
|
public static void deleteRecursively(String _fileOrDirectoryPath, boolean _stopOnError) throws IOException
_fileOrDirectoryPath - path to delete_stopOnError - if true throw an exception and exit on any errorIOExceptionpublic static void deleteRecursivelyQuiet(String _fileOrDirectoryPath)
_fileOrDirectoryPath - Copyright © 2018. All rights reserved.