public final class IoUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteDirIfExists(java.nio.file.Path directory)
Recursively delete directory if it exists.
|
public static void deleteDirIfExists(@Nonnull
java.nio.file.Path directory)
throws java.io.IOException
directory - the directory to delete.java.io.IOException - if unable to delete dir or a file contained within directory.