public static interface Properties.MutableProperties extends Properties, CanonicalMap.MutableCanonicalMap
Properties.MutableProperties, Properties.PropertiesBuilder
CanonicalMap.CanonicalMapBuilder, CanonicalMap.MutableCanonicalMap
PropertiesAccessorMixin.PropertiesMixin, PropertiesAccessorMixin.PropertiesMutatorMixin
PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
org.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T>
Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
Dictionary.MutableDictionary<K,V>
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
DEFAULT_COMMENT
Modifier and Type | Method and Description |
---|---|
default boolean |
containsValue(Object value)
Contains value.
|
default String |
delete(String aKey)
Delete.
|
default void |
loadFrom(File aFile)
Loads the properties from the given
File . |
default void |
loadFrom(InputStream aInputStream)
Loads the properties from the given
InputStream . |
default void |
loadFrom(String aFilePath)
Loads the properties from the given
File . |
default void |
loadFrom(URL aURL)
Loads the properties from the given
URL . |
default String |
put(Relation<String,String> aRelation)
Put.
|
default void |
putAll(Map<? extends String,? extends String> aProperties)
Put all.
|
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 Properties.MutableProperties |
retrieve(String aFromPath,
String aToPath)
Retrieve.
|
Properties.MutableProperties |
retrieveFrom(String aFromPath)
Retrieve from.
|
Properties.MutableProperties |
retrieveTo(String aToPath)
Retrieve to.
|
fromProperties, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, toMap, toProperties, toProperties, toProperties, toProperties, toProperties, toProperties, toProperties, toPropertyPath
putAll, toDump, toSourceCode
toType, toType
get, getBoolean, getBoolean, getByte, getByte, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort
insert, insert, insertFrom, insertTo, put, putArray, putArray, removeAll
directories, directories, entries, entries, getArray, getArray, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toRootPath
isEmpty, size
put
containsKey, get, keySet, values
clear, compute, computeIfAbsent, computeIfPresent, containsKey, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
put, put, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShort
default String put(Relation<String,String> aRelation)
put
in interface CanonicalMap.MutableCanonicalMap
put
in interface Dictionary.MutableDictionary<String,String>
put
in interface PathMap.MutablePathMap<String>
aRelation
- the a relationdefault String delete(String aKey)
delete
in interface CanonicalMap.MutableCanonicalMap
delete
in interface Keys.MutableKeys<String,String>
delete
in interface PathMap.MutablePathMap<String>
aKey
- the a keydefault boolean containsValue(Object value)
containsValue
in interface CanonicalMap
containsValue
in interface CanonicalMap.MutableCanonicalMap
containsValue
in interface Keys<String,String>
containsValue
in interface Map<String,String>
containsValue
in interface Properties
value
- the valuedefault 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.putAll
in interface CanonicalMap.MutableCanonicalMap
aProperties
- A Properties
containing the
key/value-pairs to be inserted.default void loadFrom(String aFilePath) throws IOException
File
. Save them using the
method 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
File
. Save them using the
method Properties.saveTo(File)
.aFile
- The File
from which to load the properties.IOException
- thrown in case loading the properties faileddefault void loadFrom(InputStream aInputStream) throws IOException
InputStream
. Save them
using the method Properties.saveTo(OutputStream)
.aInputStream
- The InputStream
from which to load the
properties.IOException
- thrown in case loading the properties faileddefault void loadFrom(URL aURL) throws IOException
URL
.aURL
- The URL
from which to load the properties.IOException
- thrown in case loading the properties failedProperties.MutableProperties retrieveFrom(String aFromPath)
retrieveFrom
in interface CanonicalMap.MutableCanonicalMap
retrieveFrom
in interface PathMap<String>
retrieveFrom
in interface PathMap.MutablePathMap<String>
retrieveFrom
in interface Properties
aFromPath
- the a from pathProperties.MutableProperties retrieveTo(String aToPath)
retrieveTo
in interface CanonicalMap.MutableCanonicalMap
retrieveTo
in interface PathMap<String>
retrieveTo
in interface PathMap.MutablePathMap<String>
retrieveTo
in interface Properties
aToPath
- the a to pathdefault Properties.MutableProperties retrieve(String aFromPath, String aToPath)
retrieve
in interface CanonicalMap.MutableCanonicalMap
retrieve
in interface PathMap<String>
retrieve
in interface PathMap.MutablePathMap<String>
retrieve
in interface Properties
aFromPath
- the a from pathaToPath
- the a to pathCopyright © 2017. All rights reserved.