public final class FileUtils extends Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteDirectoryTree(java.nio.file.Path path) |
static String |
getExtension(java.nio.file.Path file) |
static void |
quietDeleteChildren(java.nio.file.Path path) |
static void |
quietDeleteDirectoryTree(java.nio.file.Path directory) |
static void |
quietDeleteDirectoryTreeIfExists(java.nio.file.Path directory) |
static void |
quietDeleteFile(java.nio.file.Path file) |
static void |
quietDeleteFileIfExist(java.nio.file.Path file) |
public static void deleteDirectoryTree(java.nio.file.Path path) throws IOException
IOException
public static void quietDeleteChildren(java.nio.file.Path path) throws IOException
IOException
public static String getExtension(java.nio.file.Path file)
public static void quietDeleteFileIfExist(java.nio.file.Path file)
public static void quietDeleteFile(java.nio.file.Path file)
public static void quietDeleteDirectoryTree(java.nio.file.Path directory)
public static void quietDeleteDirectoryTreeIfExists(java.nio.file.Path directory)
Copyright © 2004-2016. All Rights Reserved.