Uses of Interface
org.apache.commons.io.file.DeleteOption
-
Uses of DeleteOption in org.apache.commons.io.file
Modifier and TypeFieldDescriptionstatic final DeleteOption[]
PathUtils.EMPTY_DELETE_OPTION_ARRAY
EmptyDeleteOption
array.Modifier and TypeMethodDescriptionstatic Counters.PathCounters
PathUtils.cleanDirectory
(Path directory, DeleteOption... deleteOptions) Cleans a directory by deleting only files, including in subdirectories, but without deleting the directories.static Counters.PathCounters
PathUtils.delete
(Path path, LinkOption[] linkOptions, DeleteOption... deleteOptions) Deletes a file or directory.static Counters.PathCounters
PathUtils.delete
(Path path, DeleteOption... deleteOptions) Deletes a file or directory.static Counters.PathCounters
PathUtils.deleteDirectory
(Path directory, LinkOption[] linkOptions, DeleteOption... deleteOptions) Deletes a directory including subdirectories.static Counters.PathCounters
PathUtils.deleteDirectory
(Path directory, DeleteOption... deleteOptions) Deletes a directory including subdirectories.static Counters.PathCounters
PathUtils.deleteFile
(Path file, LinkOption[] linkOptions, DeleteOption... deleteOptions) Deletes the given file.static Counters.PathCounters
PathUtils.deleteFile
(Path file, DeleteOption... deleteOptions) Deletes the given file.static boolean
StandardDeleteOption.overrideReadOnly
(DeleteOption[] options) Returns true if the given options containStandardDeleteOption.OVERRIDE_READ_ONLY
.ModifierConstructorDescriptionCleaningPathVisitor
(Counters.PathCounters pathCounter, DeleteOption[] deleteOption, String... skip) Constructs a instance that deletes files except for the files and directories explicitly given.DeletingPathVisitor
(Counters.PathCounters pathCounter, LinkOption[] linkOptions, DeleteOption[] deleteOption, String... skip) Constructs a instance that deletes files except for the files and directories explicitly given.DeletingPathVisitor
(Counters.PathCounters pathCounter, DeleteOption[] deleteOption, String... skip) Constructs a instance that deletes files except for the files and directories explicitly given.