Uses of Enum
com.google.common.io.RecursiveDeleteOption
Package
Description
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
-
Uses of RecursiveDeleteOption in com.google.common.io
Modifier and TypeClassDescriptionenum
Options for use with recursive delete methods (MoreFiles.deleteRecursively(java.nio.file.Path, com.google.common.io.RecursiveDeleteOption...)
andMoreFiles.deleteDirectoryContents(java.nio.file.Path, com.google.common.io.RecursiveDeleteOption...)
).Modifier and TypeMethodDescriptionstatic RecursiveDeleteOption
Returns the enum constant of this type with the specified name.static RecursiveDeleteOption[]
RecursiveDeleteOption.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic void
MoreFiles.deleteDirectoryContents
(Path path, RecursiveDeleteOption... options) Deletes all files within the directory at the givenpath
recursively.static void
MoreFiles.deleteRecursively
(Path path, RecursiveDeleteOption... options) Deletes the file or directory at the givenpath
recursively.