RegularFile (Gradle API 8.14) (original) (raw)
All Superinterfaces:
[FileSystemLocation](FileSystemLocation.html "interface in org.gradle.api.file")
Represents a regular file at a fixed location on the file system. A regular file is a file that is not a directory and is not some special kind of file such as a device.
Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created from a Directory instance using the Directory.file(String) method or via various methods on ProjectLayout such as ProjectLayout.getProjectDirectory().
Since:
4.1
Method Summary
[getAsFile](#getAsFile%28%29)()
Returns the location of this file, as an absolute File.
Method Details
getAsFile
Returns the location of this file, as an absolute File.
Specified by:
[getAsFile](FileSystemLocation.html#getAsFile%28%29)
in interface[FileSystemLocation](FileSystemLocation.html "interface in org.gradle.api.file")
Returns:
the File