public final class FilesUtils extends Object
| Constructor and Description |
|---|
FilesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteQuietly(Path path)
Deletes the files/directories on a given path.
|
static String |
randomTempDir(String prefix)
Returns a random temp dir.
|
public static void deleteQuietly(Path path)
path - Path to delete.public static String randomTempDir(String prefix)
RuntimeException - If it fails to create temp directory.Copyright © 2020. All rights reserved.