public static interface Properties.MutableProperties extends Properties.ClearableProperties, Dictionary.MutableDictionary<String,String>
Properties.ClearableProperties, Properties.MutableProperties, Properties.PropertiesBuilderDictionary.MutableDictionary.DictionaryBuilder<K,V,T extends org.refcodes.structure.Relation<K,V>,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,T,B>>Dictionary.ClearableDictionary<K,V>, Dictionary.MutableDictionary<K,V>Keys.ClearableKeys<K,V>, Keys.MutableKeys<K,V>| Modifier and Type | Method and Description |
|---|---|
default void |
loadFrom(File aFile)
Loads the properties from the given file.
|
default void |
loadFrom(String aFilePath)
Loads the properties from the given file.
|
default String |
put(org.refcodes.structure.Property aProperty)
Puts the key/value-pair from the provided
Property. |
default void |
putAll(Map<String,String> aProperties)
This method inserts all elements (key/value-pairs) found in the
provided
Map instances of interoperability reasons. |
default void |
putAll(Properties aProperties)
This method inserts all elements (key/value-pairs) found in the
provided
Properties instances of interoperability reasons. |
default void |
putAll(Properties aProperties)
This method inserts all elements (key/value-pairs) found in the
provided
Properties instances of interoperability
reasons. |
default void |
putBoolean(String aKey,
Boolean aValue)
Sets the
Boolean value for the property referred to by the
key. |
default void |
putByte(String aKey,
Byte aValue)
Sets the
Byte value for the property referred to by the key. |
default void |
putDouble(String aKey,
Double aValue)
Sets the
Double value for the property referred to by the
key. |
default void |
putFloat(String aKey,
Float aValue)
Sets the
Float value for the property referred to by the key. |
default void |
putInteger(String aKey,
Integer aValue)
Sets the
Integer value for the property referred to by the
key. |
default void |
putLong(String aKey,
Long aValue)
Sets the
Long value for the property referred to by the key. |
default void |
putShort(String aKey,
Short aValue)
Sets the
Short value for the property referred to by the key. |
getBoolean, getByte, getDouble, getFloat, getInteger, getLong, getShort, saveTo, saveTo, saveTo, saveTo, toMap, toPropertiesput, putisEmpty, sizecontainsKey, get, keySet, valuesremoveByKeydefault String put(org.refcodes.structure.Property aProperty)
Property.aProperty - The property's key/value to be inserted.default void putAll(Map<String,String> aProperties)
Map instances of interoperability reasons.aProperties - A Map containing the key/value-pairs to be
inserted.default void putAll(Properties aProperties)
Properties instances of interoperability reasons.aProperties - A Properties containing the key/value
pairs to be inserted.default void putAll(Properties aProperties)
Properties instances of interoperability
reasons.aProperties - A Properties containing the
key/value-pairs to be inserted.default void loadFrom(String aFilePath) throws IOException
Properties.saveTo(File).aFilePath - The file path from which to load the properties.IOException - thrown in case loading the properties faileddefault void loadFrom(File aFile) throws IOException
Properties.saveTo(File).aFile - The File from which to load the properties.IOException - thrown in case loading the properties failedCopyright © 2017. All rights reserved.