public class ProfilePropertiesDecorator extends AbstractPropertiesDecorator implements ProfileProperties
ProfilePropertiesDecorator
type decorates a Properties
instance and enriches it with profile support as of
ProfileProperties
.ProfileProperties.MutableProfileProperties, ProfileProperties.ProfilePropertiesBuilder
Properties.MutableProperties, Properties.PropertiesBuilder
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
org.refcodes.structure.PathMap.MutablePathMap<T>, org.refcodes.structure.PathMap.PathMapBuilder<T>
org.refcodes.structure.Dictionary.MutableDictionary<K,V>
org.refcodes.structure.Keys.MutableKeys<K,V>, org.refcodes.structure.Keys.MutableValues<K,V>
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>
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
_properties
DEFAULT_COMMENT
Constructor and Description |
---|
ProfilePropertiesDecorator(Map<?,?> aProperties)
Create a
ProfileProperties instance containing the elements of
the provided Properties instance using the default path delimiter
"/" (Delimiter.PATH ) for the path declarations |
ProfilePropertiesDecorator(Object aObj)
Create a
ProfilePropertiesDecorator instance containing the
elements as of PathMap.MutablePathMap.insert(Object) using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations:
"Insects the given object and adds all elements found in the given
object. |
ProfilePropertiesDecorator(Properties.PropertiesBuilder aProperties)
Decorates(!)
|
ProfilePropertiesDecorator(Properties aProperties)
Decorates(!)
|
containsKey, get, getDelimiter, isEmpty, keySet, retrieveFrom, retrieveTo, size, toDataStructure, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRuntimeProfiles, getRuntimeProfilesPath, toRuntimeProfile, toRuntimeProfile
containsValue, getType, retrieve, retrieveFrom, retrieveTo, toMap, toProperties, toPropertyPath
directories, 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, toRootPath
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 ProfilePropertiesDecorator(Object aObj)
ProfilePropertiesDecorator
instance containing the
elements as of PathMap.MutablePathMap.insert(Object)
using the default
path delimiter "/" (Delimiter.PATH
) for the path declarations:
"Insects 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 ProfilePropertiesDecorator(Properties aProperties)
Properties
with the additional behavior
from the ProfileProperties
type. Changes applied to the provided
Properties
affect the decorator.aProperties
- The Properties
to be decorated.public ProfilePropertiesDecorator(Properties.PropertiesBuilder aProperties)
PropertiesBuilder
with the additional
behavior from the ProfileProperties
type. Changes applied to the
provided Properties
affect the decorator.aProperties
- The Properties
to be decorated.public ProfilePropertiesDecorator(Map<?,?> aProperties)
ProfileProperties
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.Copyright © 2017. All rights reserved.