Serializable
, Cloneable
, Map<String,String>
, Properties
, Properties.MutableProperties
, Properties.PropertiesBuilder
, org.refcodes.mixin.DelimiterAccessor
, org.refcodes.mixin.Dumpable
, org.refcodes.mixin.TypeAccessor<String>
, org.refcodes.structure.CanonicalMap
, org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
, org.refcodes.structure.Clearable
, org.refcodes.structure.Containable
, org.refcodes.structure.Dictionary<String,String>
, org.refcodes.structure.Dictionary.MutableDictionary<String,String>
, org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<String,String,org.refcodes.structure.PathMap.PathMapBuilder<String>>
, org.refcodes.structure.Keys<String,String>
, org.refcodes.structure.Keys.MutableKeys<String,String>
, org.refcodes.structure.Keys.MutableValues<String,String>
, org.refcodes.structure.PathMap<String>
, org.refcodes.structure.PathMap.MutablePathMap<String>
, org.refcodes.structure.PathMap.PathMapBuilder<String>
, org.refcodes.structure.PropertiesAccessorMixin
, org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder>
, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin
, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
AbstractResourcePropertiesBuilder
public class PropertiesBuilderImpl extends org.refcodes.structure.PathMapBuilderImpl<String> implements Properties.PropertiesBuilder
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
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.structure.Dictionary.MutableDictionary<K extends Object,V extends Object>
org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K extends Object,V extends Object,B extends org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
org.refcodes.structure.PathMap.MutablePathMap<T extends Object>, org.refcodes.structure.PathMap.PathMapBuilder<T extends Object>
Properties.MutableProperties, Properties.PropertiesBuilder
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T extends Object>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
DEFAULT_COMMENT
Constructor | Description |
---|---|
PropertiesBuilderImpl() |
Create an empty
Properties.PropertiesBuilder 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
PathMap.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(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(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(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(org.refcodes.structure.Property... aProperties) |
Create a
Properties.PropertiesBuilder instance containing the provided
Property instances' key/value-pairs. |
Modifier and Type | Method | Description |
---|---|---|
Properties |
childrenOf(String aParentPath) |
|
Properties |
retrieveFrom(String aFromPath) |
|
Properties |
retrieveTo(String aToPath) |
equals, hashCode, toString
toInstance, toInstance, toType, toType
withInsert, withInsert, withInsertFrom, withInsertTo
containsValue, insert, insert, insertFrom, insertTo, putAll, toDump, toSourceCode, toSourceCode
clear, clone, containsValue, entrySet, forEach, isEmpty, keySet, putAll, replaceAll, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
directories, directories, entries, entries, fromExternalKey, getArray, getArray, getRootPath, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath
insert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, removeAll
withInsert, withInsert, withInsertFrom, withInsertTo
compute, computeIfAbsent, computeIfPresent, containsKey, get, getDelimiter, getOrDefault, getType, merge, put, putIfAbsent, remove, remove, replace, replace, toDataStructure
getDelimiter, getType, retrieve, toMap, toProperties, toPropertyPath
containsValue, delete, delete, insert, insert, insertFrom, insertTo, put, putAll, putAll, putAll
withInsert, withInsert, withInsert, withInsert, withInsertFrom, withInsertFrom, withInsertTo, withInsertTo, withPut, withPut, withPutBoolean, withPutByte, withPutDouble, withPutFloat, withPutInteger, withPutLong, withPutShort, withRemoveFrom
containsKey, 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, useShort
public 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
PathMap.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 org.refcodes.structure.CanonicalMap
retrieveFrom
in interface org.refcodes.structure.PathMap<String>
retrieveFrom
in interface Properties
retrieveFrom
in class org.refcodes.structure.PathMapBuilderImpl<String>
public Properties retrieveTo(String aToPath)
retrieveTo
in interface org.refcodes.structure.CanonicalMap
retrieveTo
in interface org.refcodes.structure.PathMap<String>
retrieveTo
in interface Properties
retrieveTo
in class org.refcodes.structure.PathMapBuilderImpl<String>
public Properties childrenOf(String aParentPath)
childrenOf
in interface org.refcodes.structure.CanonicalMap
childrenOf
in interface org.refcodes.structure.PathMap<String>
childrenOf
in interface Properties
childrenOf
in class org.refcodes.structure.PathMapBuilderImpl<String>
Copyright © 2018. All rights reserved.