## Uses of Interface
org.apache.commons.io.file.DeleteOption

- Packages that use DeleteOption
  Package | Description
  --- | ---
  org.apache.commons.io.file | 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 DeleteOption
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StandardDeleteOption` Defines the standard delete options.

    Fields in org.apache.commons.io.file declared as DeleteOption
    Modifier and Type | Field and Description
    --- | ---
    `static DeleteOption[]` | PathUtils.`EMPTY_DELETE_OPTION_ARRAY` Empty `LinkOption` array.

    Methods in org.apache.commons.io.file with parameters of type DeleteOption
    Modifier and Type | Method and Description
    --- | ---
    `static Counters.PathCounters` | PathUtils.`cleanDirectory(Path directory, DeleteOption... deleteOptions)` Cleans a directory including sub-directories without deleting directories.
    `static Counters.PathCounters` | PathUtils.`delete(Path path, DeleteOption... deleteOptions)` Deletes a file or directory.
    `static Counters.PathCounters` | PathUtils.`delete(Path path, LinkOption[] linkOptions, DeleteOption... deleteOptions)` Deletes a file or directory.
    `static Counters.PathCounters` | PathUtils.`deleteDirectory(Path directory, DeleteOption... deleteOptions)` Deletes a directory including sub-directories.
    `static Counters.PathCounters` | PathUtils.`deleteDirectory(Path directory, LinkOption[] linkOptions, DeleteOption... deleteOptions)` Deletes a directory including sub-directories.
    `static Counters.PathCounters` | PathUtils.`deleteFile(Path file, DeleteOption... deleteOptions)` Deletes the given file.
    `static Counters.PathCounters` | PathUtils.`deleteFile(Path file, LinkOption[] linkOptions, DeleteOption... deleteOptions)` Deletes the given file.
    `static boolean` | StandardDeleteOption.`overrideReadOnly(DeleteOption[] options)` Returns true if the given options contain `StandardDeleteOption.OVERRIDE_READ_ONLY`.

    Constructors in org.apache.commons.io.file with parameters of type DeleteOption
    Constructor and Description
    `CleaningPathVisitor(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.
    `DeletingPathVisitor(Counters.PathCounters pathCounter, LinkOption[] linkOptions, DeleteOption[] deleteOption, String... skip)` Constructs a new visitor that deletes files except for the files and directories explicitly given.

Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.