public final class Files extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
deleteDir(File dir)
Delete the specified directory, together will all the files that it contains.
|
static File |
deleteOnExit(File file)
Delete the specified file or directory when the virtual machine
terminates.
|
static Path |
deleteOnExit(Path file) |
public static boolean deleteDir(File dir)
public static File deleteOnExit(File file) throws IOException
IOExceptionpublic static Path deleteOnExit(Path file) throws IOException
IOExceptionCopyright © 2010–2026 The DAISY Consortium. All rights reserved.