public class PropertiesBuilderImpl extends org.refcodes.structure.PathMapBuilderImpl<String> implements Properties.PropertiesBuilder
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>Properties.MutableProperties, Properties.PropertiesBuilderorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMaporg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixinorg.refcodes.structure.PathMap.MutablePathMap<T>, org.refcodes.structure.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.DelimiterPropertyorg.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T>DEFAULT_COMMENT| Constructor and Description |
|---|
PropertiesBuilderImpl()
Create an empty
Properties.PropertiesBuilder instance using the default path
delimiter "/" (Delimiter.PATH) for the path declarations. |
PropertiesBuilderImpl(Map<?,?> aProperties)
Create a
Properties.PropertiesBuilder instance containing the elements of
the provided Map instance using the default path delimiter "/"
(Delimiter.PATH) for the path declarations |
PropertiesBuilderImpl(Object aObj)
Create a
Properties.PropertiesBuilder instance containing the elements as of
MutablePathMap#insert(Object) using the default path delimiter
"/" (Delimiter.PATH) for the path declarations:
"Inspects the given object and adds all elements found in the given
object. |
PropertiesBuilderImpl(Properties.PropertiesBuilder aProperties)
Create a
Properties.PropertiesBuilder instance containing the elements of
the provided Properties instance using the default path delimiter
"/" (Delimiter.PATH) for the path declarations |
PropertiesBuilderImpl(Properties aProperties)
Create a
Properties.PropertiesBuilder instance containing the elements of
the provided Properties instance using the default path delimiter
"/" (Delimiter.PATH) for the path declarations |
PropertiesBuilderImpl(org.refcodes.structure.Property... aProperties)
Create a
Properties.PropertiesBuilder instance containing the provided
Property instances' key/value-pairs. |
| Modifier and Type | Method and Description |
|---|---|
Properties |
childrenOf(String aParentPath) |
Properties |
retrieveFrom(String aFromPath) |
Properties |
retrieveTo(String aToPath) |
compute, computeIfAbsent, computeIfPresent, containsKey, get, getDelimiter, getOrDefault, getType, merge, put, putIfAbsent, remove, remove, replace, replace, toDataStructureclear, clone, containsValue, entrySet, forEach, isEmpty, keySet, putAll, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitwithInsert, withInsert, withInsert, withInsert, withInsertFrom, withInsertFrom, withInsertTo, withInsertTo, withPut, withPut, withPutBoolean, withPutByte, withPutDouble, withPutFloat, withPutInteger, withPutLong, withPutShort, withRemoveFromwithInsert, withInsert, withInsertFrom, withInsertTowithInsert, withInsert, withInsertFrom, withInsertTowithPutput, put, putBoolean, putBoolean, putByte, putByte, putDouble, putDouble, putFloat, putFloat, putInteger, putInteger, putLong, putLong, putShort, putShortcontainsValue, delete, delete, insert, insert, insertFrom, insertTo, put, putAll, putAll, putAllgetType, retrieve, toMap, toProperties, toPropertyPathinsert, insert, insertFrom, insertTo, putAll, toDump, toSourceCode, toSourceCodetoInstance, toInstance, toType, toTypecontainsKey, get, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShortinsert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, removeAlldirectories, directories, entries, entries, fromExternalKey, getArray, getArray, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath, toRootPathpublic PropertiesBuilderImpl()
Properties.PropertiesBuilder instance using the default path
delimiter "/" (Delimiter.PATH) for the path declarations.public PropertiesBuilderImpl(Object aObj)
Properties.PropertiesBuilder instance containing the elements as of
MutablePathMap#insert(Object) using the default path delimiter
"/" (Delimiter.PATH) for the path declarations:
"Inspects the given object and adds all elements found in the given
object. Elements of type Map, Collection and arrays are
identified and handled as of their type: The path for each value in a
Map is appended with its according key. The path for each value
in a Collection or array is appended with its according index of
occurrence (in case of a List or an array, its actual index). In
case of reflection, the path for each member is appended with its
according mamber's name. All elements (e.g. the members and values) are
inspected recursively which results in the according paths of the
terminating values."aObj - The object from which the elements are to be added.public PropertiesBuilderImpl(Properties aProperties)
Properties.PropertiesBuilder instance containing the elements of
the provided Properties instance using the default path delimiter
"/" (Delimiter.PATH) for the path declarationsaProperties - the properties to be added.public PropertiesBuilderImpl(Properties.PropertiesBuilder aProperties)
Properties.PropertiesBuilder instance containing the elements of
the provided Properties instance using the default path delimiter
"/" (Delimiter.PATH) for the path declarationsaProperties - the properties to be added.public PropertiesBuilderImpl(Map<?,?> aProperties)
Properties.PropertiesBuilder instance containing the elements of
the provided Map instance using the default path delimiter "/"
(Delimiter.PATH) for the path declarationsaProperties - the properties to be added.public PropertiesBuilderImpl(org.refcodes.structure.Property... aProperties)
Properties.PropertiesBuilder instance containing the provided
Property instances' key/value-pairs.aProperties - the properties to be added.public Properties retrieveFrom(String aFromPath)
retrieveFrom in interface PropertiesretrieveFrom in interface org.refcodes.structure.CanonicalMapretrieveFrom in interface org.refcodes.structure.PathMap<String>retrieveFrom in class org.refcodes.structure.PathMapBuilderImpl<String>public Properties retrieveTo(String aToPath)
retrieveTo in interface PropertiesretrieveTo in interface org.refcodes.structure.CanonicalMapretrieveTo in interface org.refcodes.structure.PathMap<String>retrieveTo in class org.refcodes.structure.PathMapBuilderImpl<String>public Properties childrenOf(String aParentPath)
childrenOf in interface PropertieschildrenOf in interface org.refcodes.structure.CanonicalMapchildrenOf in interface org.refcodes.structure.PathMap<String>childrenOf in class org.refcodes.structure.PathMapBuilderImpl<String>Copyright © 2018. All rights reserved.