subkt / myaa.subkt.tasks / Subs / getFile
fun getFile(filename:
String
, entry:
String
= "", context:
AbstractContext
? = null):
Provider
<
String
!>!
(source)
Reads the specified file and processes it using Velocity.
This function is run outside of a task context, using only release for lookup unless an entry is manually specified.
getFile("info.txt")
filename
- The path to the file to read.
entry
- Optional manually specified entry for property lookup.fun getFile(filename:
Provider
<
String
>, entry:
String
= "", context:
AbstractContext
? = null):
Provider
<
String
!>!
(source)
Reads the specified file and processes it using Velocity.
This function is run outside of a task context, using only release for lookup unless an entry is manually specified.
getFile("info.txt")
filename
- A provider returning the path to the file to read.
entry
- Optional manually specified entry for property lookup.