Uses of Interface
org.apache.commons.io.file.DeleteOption
Packages that use DeleteOption
Package
Description
This package provides extensions in the realm of java.nio.file.
-
Uses of DeleteOption in org.apache.commons.io.file
Classes in org.apache.commons.io.file that implement DeleteOptionFields in org.apache.commons.io.file declared as DeleteOptionModifier and TypeFieldDescriptionstatic final DeleteOption[]
PathUtils.EMPTY_DELETE_OPTION_ARRAY
EmptyLinkOption
array.Methods in org.apache.commons.io.file with parameters of type DeleteOptionModifier and TypeMethodDescriptionstatic Counters.PathCounters
PathUtils.cleanDirectory
(Path directory, DeleteOption... options) Cleans a directory including sub-directories without deleting directories.static Counters.PathCounters
PathUtils.delete
(Path path, DeleteOption... options) Deletes a file or directory.static Counters.PathCounters
PathUtils.deleteDirectory
(Path directory, DeleteOption... options) Deletes a directory including sub-directories.static Counters.PathCounters
PathUtils.deleteFile
(Path file, DeleteOption... options) Deletes the given file.private static boolean
PathUtils.overrideReadOnly
(DeleteOption[] options) Returns true if the given options containStandardDeleteOption.OVERRIDE_READ_ONLY
.static boolean
StandardDeleteOption.overrideReadOnly
(DeleteOption[] options) Returns true if the given options containStandardDeleteOption.OVERRIDE_READ_ONLY
.Constructors in org.apache.commons.io.file with parameters of type DeleteOptionModifierConstructorDescriptionCleaningPathVisitor
(Counters.PathCounters pathCounter, DeleteOption[] deleteOption, String... skip) Constructs a new visitor that deletes files except for the files and directories explicitly given.DeletingPathVisitor
(Counters.PathCounters pathCounter, DeleteOption[] deleteOption, String... skip) Constructs a new visitor that deletes files except for the files and directories explicitly given.