# Package org.gradle.api.file

## Package org.gradle.api.file Description

Classes for working with files.

- Interface Summary
  Interface | Description
  --- | ---
  ConfigurableFileCollection |
  ConfigurableFileTree |
  ContentFilterable | Represents some binary resource whose content can be filtered.
  CopyProcessingSpec | Specifies the destination of a copy.
  CopySourceSpec | Specifies sources for a file copy.
  CopySpec | A set of specifications for copying files.
  DeleteAction | Deletes files and directories.
  DeleteSpec | A specification for deleting files from the filesystem.
  DirectoryTree |
  FileCollection |
  FileCopyDetails |
  FileTree |
  FileTreeElement | Information about a file in a FileTree.
  FileVisitDetails | Provides access to details about a file or directory being visited by a FileVisitor.
  FileVisitor |
  SourceDirectorySet |

- Class Summary
  Class | Description
  --- | ---
  EmptyFileVisitor | The EmptyFileVisitor can be extends by implementations that only require to implement one of the 2 visit methods (dir or file).
  RelativePath |

- Enum Summary
  Enum | Description
  --- | ---
  DuplicatesStrategy | Strategies for dealing with the potential creation of duplicate files for or archive entries.
  FileCollection.AntType | Ant types which a `FileCollection` can be mapped to.

- Exception Summary
  Exception | Description
  --- | ---
  DuplicateFileCopyingException | Thrown when more than one file with the same relative path name is to be copied and the DuplicatesStrategy is set to DuplicatesStrategy.FAIL
  UnableToDeleteFileException | Thrown by Gradle when it is unable to delete a file.