- All Known Subinterfaces:
FileCopyDetails, FileVisitDetails
-
Method Summary
booleanCopies this file to the given target file.
voidCopies the content of this file to an output stream.
getFile()Returns the file being visited.
longReturns 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.
longgetSize()Returns the size of this file at the time of file traversal.
booleanReturns 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
-