toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.api.file
/
FileContents
File
Contents
API
interface
FileContents
(
source
)
Provides lazy access to the contents of a given file.
Since
6.1
Members
Functions
get
As
Bytes
Link copied to clipboard
API
abstract
fun
getAsBytes
(
)
:
Provider
<
Array
<
Byte
>
>
Gets a provider of the entire file contents as a single byte array.
get
As
Text
Link copied to clipboard
API
abstract
fun
getAsText
(
)
:
Provider
<
String
>
Gets a provider of the entire file contents as a single String.