class ConfigProperties : Properties, Closeable
<init> |
ConfigProperties(configurable: Configurable) |
configurable |
val configurable: Configurable |
boolean |
fun boolean(key: String): Boolean? fun boolean(key: String, defaultValue: Boolean): Boolean |
close |
fun close(): Unit |
double |
fun double(key: String): Double? fun double(key: String, defaultValue: Double): Double |
int |
fun int(key: String): <ERROR CLASS> fun int(key: String, defaultValue: Int): Int |
jsonArray |
fun jsonArray(key: String): <ERROR CLASS> |
jsonModel |
fun <M : JsonModel> jsonModel(key: String): <ERROR CLASS> |
jsonModels |
fun <M : JsonModel> jsonModels(key: String): <ERROR CLASS> |
jsonObject |
fun jsonObject(key: String): <ERROR CLASS> |
save |
fun save(): Unit |
set |
fun set(pair: Pair<String, Any?>): Unit |
string |
fun string(key: String): String? fun string(key: String, defaultValue: String): String |
queryString |
val Map<*, *>.queryString: String |
asObservable |
fun <K, V> Map<K, V>.asObservable(): ObservableMap<K, V>
Returns a new ObservableMap that is backed by the original map. |
countValues |
fun <K> Map<K, Collection<*>>.countValues(key: K): Int |
getProperty |
fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T> |
mapEach |
fun <K, V, R> Map<K, V>.mapEach(action: Entry<K, V>.() -> R): <ERROR CLASS>
map with Map.Entree as receiver. |
mapEachTo |
fun <K, V, R, C : MutableCollection<in R>> Map<K, V>.mapEachTo(destination: C, action: Entry<K, V>.() -> R): <ERROR CLASS>
mapTo with Map.Entree as receiver. |
observable |
fun <T : Any> Any.observable(propName: String): ObjectProperty<T> |
observable |
fun <K, V> Map<K, V>. |
toObservable |
fun <K, V> Map<K, V>.toObservable(): ObservableMap<K, V>
Returns a new ObservableMap with the elements from the original map. |
toProperty |
fun <S, V, X : V> MutableMap<S, V>.toProperty(key: S, propertyGenerator: (X?) -> Property<X>): Property<X>
Convert the given key in this map to a Property using the given propertyGenerator function. |
withEach |
fun <K, V> Map<K, V>.withEach(action: Entry<K, V>.() -> Unit): <ERROR CLASS>
forEach with Map.Entree as receiver. |