public class DeleteHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeleteHelper.DeleteDirectories
To delete all directories which names are matching the given matcher.
|
static class |
DeleteHelper.DeleteDirectory
To delete the given directory.
|
static class |
DeleteHelper.DeleteDirectoryOnExit
To delete the given directory on exit.
|
static class |
DeleteHelper.DeleteFiles
To delete all files that are matching the given matcher.
|
| Constructor and Description |
|---|
DeleteHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteDirectories(Path path,
String glob) |
static void |
deleteDirectory(Path path) |
static void |
deleteDirectoryOnExit(Path path) |
static void |
deleteFiles(Path path,
String glob) |
public static void deleteDirectories(Path path, String glob) throws IOException
IOExceptionpublic static void deleteFiles(Path path, String glob) throws IOException
IOExceptionpublic static void deleteDirectory(Path path) throws IOException
IOExceptionpublic static void deleteDirectoryOnExit(Path path) throws IOException
IOExceptionCopyright © 2012–2015 Ifremer. All rights reserved.