# FileVisitDetails

interface FileVisitDetails : FileTreeElement(source)

Provides access to details about a file or directory being visited by a FileVisitor.

#### See also

FileTree

## Functions

copyTo
Link copied to clipboard
abstract fun copyTo(target: File): Boolean
abstract fun copyTo(output: OutputStream)
getFile
Link copied to clipboard
abstract fun getFile(): File
getLastModified
Link copied to clipboard
abstract fun getLastModified(): Long
getName
Link copied to clipboard
abstract fun getName(): String
getPath
Link copied to clipboard
abstract fun getPath(): String
getPermissions
Link copied to clipboard
abstract fun getPermissions(): FilePermissions
getRelativePath
Link copied to clipboard
abstract fun getRelativePath(): RelativePath
getSize
Link copied to clipboard
abstract fun getSize(): Long
isDirectory
Link copied to clipboard
abstract fun isDirectory(): Boolean
open
Link copied to clipboard
abstract fun open(): InputStream
stopVisiting
Link copied to clipboard
abstract fun stopVisiting()
Requests that file visiting terminate after the current file.