PropertiesFile

class PropertiesFile(directory: File, key: String, prefix: String, logger: Logger?) : KeyValueStore

Functions

Link copied to clipboard
open override fun getLong(key: String, defaultVal: Long): Long
Link copied to clipboard
fun getString(key: String, defaultVal: String?): String?
Link copied to clipboard
fun load()

Check if underlying file exists, and load properties if true

Link copied to clipboard
open override fun putLong(key: String, value: Long): Boolean
Link copied to clipboard
fun putString(key: String, value: String): Boolean
Link copied to clipboard
fun remove(key: String): Boolean
fun remove(keys: List<String>): Boolean