Properties Value Source
object PropertiesValueSource
A ValueSource that reads values from a Properties object.
Functions
Link copied to clipboard
fun from(properties: Properties, getKey: (Context, Option) -> String = ValueSource.getKey(joinSubcommands = ".")): ValueSource
Return a ValueSource that reads values from a properties object.
fun from(file: File, requireValid: Boolean = false, getKey: (Context, Option) -> String = ValueSource.getKey(joinSubcommands = ".")): ValueSource
fun from(file: Path, requireValid: Boolean = false, getKey: (Context, Option) -> String = ValueSource.getKey(joinSubcommands = ".")): ValueSource
fun from(file: String, requireValid: Boolean = false, getKey: (Context, Option) -> String = ValueSource.getKey(joinSubcommands = ".")): ValueSource
Parse a properties file into a value source.