File Copy Details
Provides details about a file or directory about to be copied, and allows some aspects of the destination file to be modified.
Using this interface, you can change the destination path of the file, filter the content of the file, or exclude the file from the result entirely.
Access to the source file itself after any filters have been added is not a supported operation.
Functions
Link copied to clipboard
abstract fun expand(properties: Map<String, out Any>, action: Action<in ExpandDetails>): ContentFilterable
Expands property references in each file as it is copied.
Link copied to clipboard
Adds a content filter based on the provided closure.
abstract fun filter(properties: Map<String, out Any>, filterType: Class<out FilterReader>): ContentFilterable
Adds a content filter to be used during the copy.
Adds a content filter based on the provided transformer.
Link copied to clipboard
Returns the display name of this object.
Link copied to clipboard
The strategy to use if there is already a file at this file's destination.
Link copied to clipboard
Returns the last modified time of this file at the time of file traversal.
Link copied to clipboard
Provides a read-only view of access permissions of this file.
Link copied to clipboard
Returns the path of this file, relative to the root of the copy destination.
Link copied to clipboard
Returns the path of this file, relative to the root of the containing file tree.
Link copied to clipboard
Returns the base name of this file at the copy source.
Link copied to clipboard
Returns the path of this file, relative to the root of the containing file tree.
Link copied to clipboard
Returns true if this element is a directory, or false if this element is a regular file.
Link copied to clipboard
Opens this file as an input stream.
Link copied to clipboard
Configuration action for specifying file and directory access permissions.
Link copied to clipboard
The strategy to use if there is already a file at this file's destination.
Link copied to clipboard
Set file and directory access permissions based on an externally provided permission instance.
Link copied to clipboard
Sets the destination path of this file.