docs.gradle.org

All Known Subinterfaces:
FileCopyDetails, FileVisitDetails

  • Method Summary

    boolean

    Copies this file to the given target file.

    void

    Copies the content of this file to an output stream.

    getFile()

    Returns the file being visited.

    long

    Returns the last modified time of this file at the time of file traversal.

    getName()

    Returns the base name of this file.

    getPath()

    Returns the path of this file, relative to the root of the containing file tree.

    Provides a read-only view of access permissions of this file.

    Returns the path of this file, relative to the root of the containing file tree.

    long

    getSize()

    Returns the size of this file at the time of file traversal.

    boolean

    Returns true if this element is a directory, or false if this element is a regular file.

    open()

    Opens this file as an input stream.

  • Method Details

    • getFile

    • isDirectory

    • getLastModified

    • getSize

    • open

    • copyTo

    • copyTo

    • getName

    • getPath

    • getRelativePath

    • getPermissions

Read the original on docs.gradle.org ↗