-
- All Superinterfaces:
org.refcodes.mixin.AnnotatorAccessor,Containable,org.refcodes.mixin.DelimiterAccessor,Dictionary<String,T>,org.refcodes.mixin.Dumpable,org.refcodes.mixin.EmptyAccessor,Keys<String,T>,PathMap<T>,org.refcodes.mixin.TypeAccessor<T>
- All Known Subinterfaces:
CanonicalMap,CanonicalMap.CanonicalMapBuilder,CanonicalMap.MutableCanonicalMap,SimpleTypeMap,SimpleTypeMap.MutableSimpleTypeMap,SimpleTypeMap.SimpleTypeMapBuilder
- All Known Implementing Classes:
CanonicalMapBuilderImpl,CanonicalMapImpl,SimpleTypeMapBuilderImpl,SimpleTypeMapImpl
public interface InterOperableMap<T> extends PathMap<T>
TheInterOperableMapprovides convenience accessor default methods for supporting primitive data types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceInterOperableMap.InterOperableMapBuilder<T>TheInterOperableMap.InterOperableMapBuilderprovides convenience accessor default methods for supporting primitive data types.static interfaceInterOperableMap.MutableInterOperableMap<T>TheInterOperableMap.InterOperableMapBuilderprovides convenience accessor default methods for supporting primitive data types.-
Nested classes/interfaces inherited from interface org.refcodes.mixin.AnnotatorAccessor
org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B extends org.refcodes.mixin.AnnotatorAccessor.AnnotatorBuilder<B>>, org.refcodes.mixin.AnnotatorAccessor.AnnotatorMutator, org.refcodes.mixin.AnnotatorAccessor.AnnotatorProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.DelimiterAccessor
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
-
Nested classes/interfaces inherited from interface org.refcodes.struct.Dictionary
Dictionary.MutableDictionary<K,V>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.EmptyAccessor
org.refcodes.mixin.EmptyAccessor.EmptyMutator, org.refcodes.mixin.EmptyAccessor.EmptyProperty
-
Nested classes/interfaces inherited from interface org.refcodes.struct.Keys
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
-
Nested classes/interfaces inherited from interface org.refcodes.struct.PathMap
PathMap.MutablePathMap<T>, PathMap.PathMapBuilder<T>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T,B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default BooleangetBoolean(Object aKey)Returns theBooleanvalue of the property referred to by the key.default BooleangetBoolean(Object... aPathElements)Returns theBooleanvalue of the property referred to by the path elements.default BooleangetBoolean(String aKey)Returns theBooleanvalue of the property referred to by the key.default BooleangetBoolean(String... aPathElements)Returns theBooleanvalue of the property referred to by the path elements.default BooleangetBoolean(Collection<?> aPathElements)Returns theBooleanvalue of the property referred to by the path elements.default BooleangetBooleanOr(Object[] aPathElements, Boolean aDefaultValue)Returns theBooleanvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default BooleangetBooleanOr(Object aKey, Boolean aDefaultValue)Returns theBooleanvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default BooleangetBooleanOr(String[] aPathElements, Boolean aDefaultValue)Returns theBooleanvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default BooleangetBooleanOr(String aKey, Boolean aDefaultValue)Returns theBooleanvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default BooleangetBooleanOr(Collection<?> aPathElements, Boolean aDefaultValue)Returns theBooleanvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default BytegetByte(Object aKey)Returns theBytevalue of the property referred to by the key.default BytegetByte(Object... aPathElements)Returns theBytevalue of the property referred to by the path elements.default BytegetByte(String aKey)Returns theBytevalue of the property referred to by the key.default BytegetByte(String... aPathElements)Returns theBytevalue of the property referred to by the path elements.default BytegetByte(Collection<?> aPathElements)Returns theBytevalue of the property referred to by the path elements.default BytegetByteOr(Object[] aPathElements, Byte aDefaultValue)Returns theBytevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default BytegetByteOr(Object aKey, Byte aDefaultValue)Returns theBytevalue of the property referred to by the key or the provided default value if there is no such value for the given key.default BytegetByteOr(String[] aPathElements, Byte aDefaultValue)Returns theBytevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default BytegetByteOr(String aKey, Byte aDefaultValue)Returns theBytevalue of the property referred to by the key or the provided default value if there is no such value for the given key.default BytegetByteOr(Collection<?> aPathElements, Byte aDefaultValue)Returns theBytevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default CharactergetChar(Object aKey)Returns theCharactervalue of the property referred to by the key.default CharactergetChar(Object... aPathElements)Returns theCharactervalue of the property referred to by the path elements.default CharactergetChar(String aKey)Returns theCharactervalue of the property referred to by the key.default CharactergetChar(String... aPathElements)Returns theCharactervalue of the property referred to by the key.default CharactergetChar(Collection<?> aPathElements)Returns theCharactervalue of the property referred to by the path elements.default CharactergetCharOr(Object[] aPathElements, Character aDefaultValue)Returns theCharactervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default CharactergetCharOr(Object aKey, Character aDefaultValue)Returns theCharactervalue of the property referred to by the key or the provided default value if there is no such value for the given key.default CharactergetCharOr(String[] aPathElements, Character aDefaultValue)Returns theCharactervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default CharactergetCharOr(String aKey, Character aDefaultValue)Returns theCharactervalue of the property referred to by the key or the provided default value if there is no such value for the given key.default CharactergetCharOr(Collection<?> aPathElements, Character aDefaultValue)Returns theCharactervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <C> Class<C>getClass(Object aKey)Returns theClassvalue of the property referred to by the key.default <C> Class<C>getClass(Object... aPathElements)Returns theClassvalue of the property referred to by the path elements.default <C> Class<C>getClass(String aKey)Returns theClassvalue of the property referred to by the key.default <C> Class<C>getClass(String... aPathElements)Returns theClassvalue of the property referred to by the path elements.default <C> Class<C>getClass(Collection<?> aPathElements)Returns theClassvalue of the property referred to by the path elements.default <C> Class<C>getClassOr(Object[] aPathElements, Class<C> aDefaultValue)Returns theClassvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <C> Class<C>getClassOr(Object aKey, Class<C> aDefaultValue)Returns theClassvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default <C> Class<C>getClassOr(String[] aPathElements, Class<C> aDefaultValue)Returns theClassvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <C> Class<C>getClassOr(String aKey, Class<C> aDefaultValue)Returns theClassvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default <C> Class<C>getClassOr(Collection<?> aPathElements, Class<C> aDefaultValue)Returns theClassvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default DoublegetDouble(Object aKey)Returns theDoublevalue of the property referred to by the key.default DoublegetDouble(Object... aPathElements)Returns theDoublevalue of the property referred to by the path elements.default DoublegetDouble(String aKey)Returns theDoublevalue of the property referred to by the key.default DoublegetDouble(String... aPathElements)Returns theDoublevalue of the property referred to by the path elements.default DoublegetDouble(Collection<?> aPathElements)Returns theDoublevalue of the property referred to by the path elements.default DoublegetDoubleOr(Object[] aPathElements, Double aDefaultValue)Returns theDoublevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default DoublegetDoubleOr(Object aKey, Double aDefaultValue)Returns theDoublevalue of the property referred to by the key or the provided default value if there is no such value for the given key.default DoublegetDoubleOr(String[] aPathElements, Double aDefaultValue)Returns theDoublevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default DoublegetDoubleOr(String aKey, Double aDefaultValue)Returns theDoublevalue of the property referred to by the key or the provided default value if there is no such value for the given key.default DoublegetDoubleOr(Collection<?> aPathElements, Double aDefaultValue)Returns theDoublevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <E extends Enum<E>>
EgetEnum(Class<E> aEnumType, Object aKey)Returns theEnumvalue of the property referred to by the key.default <E extends Enum<E>>
EgetEnum(Class<E> aEnumType, Object... aPathElements)Returns theEnumvalue of the property referred to by the path elements.default <E extends Enum<E>>
EgetEnum(Class<E> aEnumType, String aKey)Returns theEnumvalue of the property referred to by the key.default <E extends Enum<E>>
EgetEnum(Class<E> aEnumType, String... aPathElements)Returns theEnumvalue of the property referred to by the key.default <E extends Enum<E>>
EgetEnum(Class<E> aEnumType, Collection<?> aPathElements)Returns theEnumvalue of the property referred to by the path elements.default <E extends Enum<E>>
EgetEnumOr(Class<E> aEnumType, Object[] aPathElements, E aDefaultValue)Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <E extends Enum<E>>
EgetEnumOr(Class<E> aEnumType, Object aKey, E aDefaultValue)Returns theEnumvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default <E extends Enum<E>>
EgetEnumOr(Class<E> aEnumType, String[] aPathElements, E aDefaultValue)Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <E extends Enum<E>>
EgetEnumOr(Class<E> aEnumType, String aKey, E aDefaultValue)Returns theEnumvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default <E extends Enum<E>>
EgetEnumOr(Class<E> aEnumType, Collection<?> aPathElements, E aDefaultValue)Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <E extends Enum<E>>
EgetEnumOr(Object[] aPathElements, E aDefaultValue)Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <E extends Enum<E>>
EgetEnumOr(Object aKey, E aDefaultValue)Returns theEnumvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default <E extends Enum<E>>
EgetEnumOr(String[] aPathElements, E aDefaultValue)Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default <E extends Enum<E>>
EgetEnumOr(String aKey, E aDefaultValue)Returns theEnumvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default <E extends Enum<E>>
EgetEnumOr(Collection<?> aPathElements, E aDefaultValue)Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default FloatgetFloat(Object aKey)Returns theFloatvalue of the property referred to by the key.default FloatgetFloat(Object... aPathElements)Returns theFloatvalue of the property referred to by the path elements.default FloatgetFloat(String aKey)Returns theFloatvalue of the property referred to by the key.default FloatgetFloat(String... aPathElements)Returns theFloatvalue of the property referred to by the path elements.default FloatgetFloat(Collection<?> aPathElements)Returns theFloatvalue of the property referred to by the path elements.default FloatgetFloatOr(Object[] aPathElements, Float aDefaultValue)Returns theFloatvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default FloatgetFloatOr(Object aKey, Float aDefaultValue)Returns theFloatvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default FloatgetFloatOr(String[] aPathElements, Float aDefaultValue)Returns theFloatvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default FloatgetFloatOr(String aKey, Float aDefaultValue)Returns theFloatvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default FloatgetFloatOr(Collection<?> aPathElements, Float aDefaultValue)Returns theFloatvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default IntegergetInt(Object aKey)Returns theIntegervalue of the property referred to by the key.default IntegergetInt(Object... aPathElements)Returns theIntegervalue of the property referred to by the path elements.default IntegergetInt(String aKey)Returns theIntegervalue of the property referred to by the key.default IntegergetInt(String... aPathElements)Returns theIntegervalue of the property referred to by the path elements.default IntegergetInt(Collection<?> aPathElements)Returns theIntegervalue of the property referred to by the path elements.default IntegergetIntOr(Object[] aPathElements, Integer aDefaultValue)Returns theIntegervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default IntegergetIntOr(Object aKey, Integer aDefaultValue)Returns theIntegervalue of the property referred to by the key or the provided default value if there is no such value for the given key.default IntegergetIntOr(String[] aPathElements, Integer aDefaultValue)Returns theIntegervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default IntegergetIntOr(String aKey, Integer aDefaultValue)Returns theIntegervalue of the property referred to by the key or the provided default value if there is no such value for the given key.default IntegergetIntOr(Collection<?> aPathElements, Integer aDefaultValue)Returns theIntegervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default LonggetLong(Object aKey)Returns theLongvalue of the property referred to by the key.default LonggetLong(Object... aPathElements)Returns theLongvalue of the property referred to by the path elements.default LonggetLong(String aKey)Returns theLongvalue of the property referred to by the key.default LonggetLong(String... aPathElements)Returns theLongvalue of the property referred to by the path elements.default LonggetLong(Collection<?> aPathElements)Returns theLongvalue of the property referred to by the path elements.default LonggetLongOr(Object[] aPathElements, Long aDefaultValue)Returns theLongvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default LonggetLongOr(Object aKey, Long aDefaultValue)Returns theLongvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default LonggetLongOr(String[] aPathElements, Long aDefaultValue)Returns theLongvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default LonggetLongOr(String aKey, Long aDefaultValue)Returns theLongvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default LonggetLongOr(Collection<?> aPathElements, Long aDefaultValue)Returns theLongvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default ShortgetShort(Object aKey)Returns theShortvalue of the property referred to by the key.default ShortgetShort(Object... aPathElements)Returns theShortvalue of the property referred to by the path elements.default ShortgetShort(String aKey)Returns theShortvalue of the property referred to by the key.default ShortgetShort(String... aPathElements)Returns theShortvalue of the property referred to by the path elements.default ShortgetShort(Collection<?> aPathElements)Returns theShortvalue of the property referred to by the path elements.default ShortgetShortOr(Object[] aPathElements, Short aDefaultValue)Returns theShortvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default ShortgetShortOr(Object aKey, Short aDefaultValue)Returns theShortvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default ShortgetShortOr(String[] aPathElements, Short aDefaultValue)Returns theShortvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default ShortgetShortOr(String aKey, Short aDefaultValue)Returns theShortvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default ShortgetShortOr(Collection<?> aPathElements, Short aDefaultValue)Returns theShortvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default StringgetString(Object aKey)Returns theStringvalue of the property referred to by the key.default StringgetString(Object... aPathElements)Returns theStringvalue of the property referred to by the path elements.default StringgetString(String aKey)Returns theStringvalue of the property referred to by the key.default StringgetString(String... aPathElements)Returns theStringvalue of the property referred to by the path elements.default StringgetString(Collection<?> aPathElements)Returns theStringvalue of the property referred to by the path elements.default StringgetStringOr(Object[] aPathElements, String aDefaultValue)Returns theStringvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default StringgetStringOr(Object aKey, String aDefaultValue)Returns theStringvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default StringgetStringOr(String[] aPathElements, String aDefaultValue)Returns theStringvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.default StringgetStringOr(String aKey, String aDefaultValue)Returns theStringvalue of the property referred to by the key or the provided default value if there is no such value for the given key.default StringgetStringOr(Collection<?> aPathElements, String aDefaultValue)Returns theStringvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path.-
Methods inherited from interface org.refcodes.struct.Containable
size
-
Methods inherited from interface org.refcodes.struct.Keys
containsKey, containsValue, get, getOr, keySet, use, values
-
Methods inherited from interface org.refcodes.struct.PathMap
children, children, children, children, children, children, containsKey, containsKey, containsKey, dirs, dirs, dirs, dirs, dirs, dirs, findPaths, fromExternalPath, get, get, get, getArray, getArray, getArray, getArray, getArray, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayIndexes, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getArrayOr, getDir, getDir, getDir, getDir, getDir, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, getDirAt, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirIndexes, getDirs, getDirs, getDirs, getDirs, getDirs, getRootPath, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, getValueAt, hasChildren, hasChildren, hasChildren, hasChildren, hasChildren, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasDirAt, hasParentPath, hasPath, hasPath, hasPath, hasPath, hasSubDirs, hasSubDirs, hasSubDirs, hasSubDirs, hasValue, hasValue, hasValue, hasValue, hasValue, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, hasValueAt, isArray, isArray, isArray, isArray, isArray, isArray, isChild, isChild, isChild, isChild, isDir, isDir, isDir, isDir, isDir, isEqualTo, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isIndexDir, isLeaf, isLeaf, isLeaf, isLeaf, isLeaf, isRootPath, keySet, keySet, keySet, keySet, keySet, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastArrayIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, lastDirIndex, leaves, leaves, leaves, leaves, leaves, leaves, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextArrayIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, nextDirIndex, paths, paths, paths, paths, paths, paths, query, query, query, query, query, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryBetween, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryFrom, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryPaths, queryTo, queryTo, queryTo, queryTo, queryTo, queryTo, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveBetween, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, retrieveTo, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, sortedKeys, toDataStructure, toDataStructure, toExternalPath, toInstance, toInstance, toLeaf, toMap, toMap, toNormalizedPath, toParentPath, toPath, toPath, toPath, toPath, toPathElements, toPathList, toPathStack, toPropertyPath, toType, toType, toType, toType, toType, toType, toType, toType
-
-
-
-
Method Detail
-
getBoolean
default Boolean getBoolean(Object... aPathElements) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBoolean
default Boolean getBoolean(Collection<?> aPathElements) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBoolean
default Boolean getBoolean(Object aKey) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBoolean
default Boolean getBoolean(String... aPathElements) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBoolean
default Boolean getBoolean(String aKey) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBooleanOr
default Boolean getBooleanOr(Object aKey, Boolean aDefaultValue) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBooleanOr
default Boolean getBooleanOr(Object[] aPathElements, Boolean aDefaultValue) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBooleanOr
default Boolean getBooleanOr(Collection<?> aPathElements, Boolean aDefaultValue) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBooleanOr
default Boolean getBooleanOr(String aKey, Boolean aDefaultValue) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getBooleanOr
default Boolean getBooleanOr(String[] aPathElements, Boolean aDefaultValue) throws NumberFormatException
Returns theBooleanvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Booleanrepresentation of the key'sStringvalue of false if there is no such key. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByte
default Byte getByte(Object... aPathElements) throws NumberFormatException
Returns theBytevalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByte
default Byte getByte(Collection<?> aPathElements) throws NumberFormatException
Returns theBytevalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByte
default Byte getByte(Object aKey) throws NumberFormatException
Returns theBytevalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByte
default Byte getByte(String... aPathElements) throws NumberFormatException
Returns theBytevalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByte
default Byte getByte(String aKey) throws NumberFormatException
Returns theBytevalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByteOr
default Byte getByteOr(Object aKey, Byte aDefaultValue) throws NumberFormatException
Returns theBytevalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByteOr
default Byte getByteOr(Object[] aPathElements, Byte aDefaultValue) throws NumberFormatException
Returns theBytevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByteOr
default Byte getByteOr(Collection<?> aPathElements, Byte aDefaultValue) throws NumberFormatException
Returns theBytevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByteOr
default Byte getByteOr(String aKey, Byte aDefaultValue) throws NumberFormatException
Returns theBytevalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getByteOr
default Byte getByteOr(String[] aPathElements, Byte aDefaultValue) throws NumberFormatException
Returns theBytevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Byterepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getChar
default Character getChar(Object aKey) throws NumberFormatException
Returns theCharactervalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getChar
default Character getChar(String aKey) throws NumberFormatException
Returns theCharactervalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getChar
default Character getChar(String... aPathElements) throws NumberFormatException
Returns theCharactervalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getChar
default Character getChar(Object... aPathElements) throws NumberFormatException
Returns theCharactervalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getChar
default Character getChar(Collection<?> aPathElements) throws NumberFormatException
Returns theCharactervalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getCharOr
default Character getCharOr(Object aKey, Character aDefaultValue) throws NumberFormatException
Returns theCharactervalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getCharOr
default Character getCharOr(Object[] aPathElements, Character aDefaultValue) throws NumberFormatException
Returns theCharactervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getCharOr
default Character getCharOr(Collection<?> aPathElements, Character aDefaultValue) throws NumberFormatException
Returns theCharactervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getCharOr
default Character getCharOr(String aKey, Character aDefaultValue) throws NumberFormatException
Returns theCharactervalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getCharOr
default Character getCharOr(String[] aPathElements, Character aDefaultValue) throws NumberFormatException
Returns theCharactervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Characterrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClass
default <C> Class<C> getClass(Object... aPathElements) throws NumberFormatException
Returns theClassvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClass
default <C> Class<C> getClass(Collection<?> aPathElements) throws NumberFormatException
Returns theClassvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClass
default <C> Class<C> getClass(Object aKey) throws NumberFormatException
Returns theClassvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClass
default <C> Class<C> getClass(String... aPathElements) throws NumberFormatException
Returns theClassvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClass
default <C> Class<C> getClass(String aKey) throws NumberFormatException
Returns theClassvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClassOr
default <C> Class<C> getClassOr(Object aKey, Class<C> aDefaultValue) throws NumberFormatException
Returns theClassvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClassOr
default <C> Class<C> getClassOr(Object[] aPathElements, Class<C> aDefaultValue) throws NumberFormatException
Returns theClassvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClassOr
default <C> Class<C> getClassOr(Collection<?> aPathElements, Class<C> aDefaultValue) throws NumberFormatException
Returns theClassvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClassOr
default <C> Class<C> getClassOr(String aKey, Class<C> aDefaultValue) throws NumberFormatException
Returns theClassvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getClassOr
default <C> Class<C> getClassOr(String[] aPathElements, Class<C> aDefaultValue) throws NumberFormatException
Returns theClassvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
C- The type of the class in question.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Classrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDouble
default Double getDouble(Object... aPathElements) throws NumberFormatException
Returns theDoublevalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDouble
default Double getDouble(Collection<?> aPathElements) throws NumberFormatException
Returns theDoublevalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDouble
default Double getDouble(Object aKey) throws NumberFormatException
Returns theDoublevalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDouble
default Double getDouble(String... aPathElements) throws NumberFormatException
Returns theDoublevalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDouble
default Double getDouble(String aKey) throws NumberFormatException
Returns theDoublevalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDoubleOr
default Double getDoubleOr(Object aKey, Double aDefaultValue) throws NumberFormatException
Returns theDoublevalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDoubleOr
default Double getDoubleOr(Object[] aPathElements, Double aDefaultValue) throws NumberFormatException
Returns theDoublevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDoubleOr
default Double getDoubleOr(Collection<?> aPathElements, Double aDefaultValue) throws NumberFormatException
Returns theDoublevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDoubleOr
default Double getDoubleOr(String aKey, Double aDefaultValue) throws NumberFormatException
Returns theDoublevalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getDoubleOr
default Double getDoubleOr(String[] aPathElements, Double aDefaultValue) throws NumberFormatException
Returns theDoublevalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Doublerepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnum
default <E extends Enum<E>> E getEnum(Class<E> aEnumType, Object aKey) throws NumberFormatException
Returns theEnumvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aKey- The key for which to retrieve the value.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnum
default <E extends Enum<E>> E getEnum(Class<E> aEnumType, String aKey) throws NumberFormatException
Returns theEnumvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aKey- The key for which to retrieve the value.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnum
default <E extends Enum<E>> E getEnum(Class<E> aEnumType, String... aPathElements) throws NumberFormatException
Returns theEnumvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnum
default <E extends Enum<E>> E getEnum(Class<E> aEnumType, Object... aPathElements) throws NumberFormatException
Returns theEnumvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnum
default <E extends Enum<E>> E getEnum(Class<E> aEnumType, Collection<?> aPathElements) throws NumberFormatException
Returns theEnumvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(Class<E> aEnumType, Object aKey, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(Class<E> aEnumType, Object[] aPathElements, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(Class<E> aEnumType, Collection<?> aPathElements, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(Class<E> aEnumType, String aKey, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(Class<E> aEnumType, String[] aPathElements, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Type Parameters:
E- The type of the enumeration in question.- Parameters:
aEnumType- The type of the enumeration in question.aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(Object aKey, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(Object[] aPathElements, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(Collection<?> aPathElements, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(String aKey, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getEnumOr
default <E extends Enum<E>> E getEnumOr(String[] aPathElements, E aDefaultValue) throws NumberFormatException
Returns theEnumvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Enumrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloat
default Float getFloat(Object... aPathElements) throws NumberFormatException
Returns theFloatvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloat
default Float getFloat(Collection<?> aPathElements) throws NumberFormatException
Returns theFloatvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloat
default Float getFloat(Object aKey) throws NumberFormatException
Returns theFloatvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloat
default Float getFloat(String... aPathElements) throws NumberFormatException
Returns theFloatvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloat
default Float getFloat(String aKey) throws NumberFormatException
Returns theFloatvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloatOr
default Float getFloatOr(Object aKey, Float aDefaultValue) throws NumberFormatException
Returns theFloatvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloatOr
default Float getFloatOr(Object[] aPathElements, Float aDefaultValue) throws NumberFormatException
Returns theFloatvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloatOr
default Float getFloatOr(Collection<?> aPathElements, Float aDefaultValue) throws NumberFormatException
Returns theFloatvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloatOr
default Float getFloatOr(String aKey, Float aDefaultValue) throws NumberFormatException
Returns theFloatvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getFloatOr
default Float getFloatOr(String[] aPathElements, Float aDefaultValue) throws NumberFormatException
Returns theFloatvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Floatrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getInt
default Integer getInt(Object... aPathElements) throws NumberFormatException
Returns theIntegervalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getInt
default Integer getInt(Collection<?> aPathElements) throws NumberFormatException
Returns theIntegervalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getInt
default Integer getInt(Object aKey) throws NumberFormatException
Returns theIntegervalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getInt
default Integer getInt(String... aPathElements) throws NumberFormatException
Returns theIntegervalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getInt
default Integer getInt(String aKey) throws NumberFormatException
Returns theIntegervalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getIntOr
default Integer getIntOr(Object aKey, Integer aDefaultValue) throws NumberFormatException
Returns theIntegervalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getIntOr
default Integer getIntOr(Object[] aPathElements, Integer aDefaultValue) throws NumberFormatException
Returns theIntegervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getIntOr
default Integer getIntOr(Collection<?> aPathElements, Integer aDefaultValue) throws NumberFormatException
Returns theIntegervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getIntOr
default Integer getIntOr(String aKey, Integer aDefaultValue) throws NumberFormatException
Returns theIntegervalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getIntOr
default Integer getIntOr(String[] aPathElements, Integer aDefaultValue) throws NumberFormatException
Returns theIntegervalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Integerrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLong
default Long getLong(Object... aPathElements) throws NumberFormatException
Returns theLongvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLong
default Long getLong(Collection<?> aPathElements) throws NumberFormatException
Returns theLongvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLong
default Long getLong(Object aKey) throws NumberFormatException
Returns theLongvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLong
default Long getLong(String... aPathElements) throws NumberFormatException
Returns theLongvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLong
default Long getLong(String aKey) throws NumberFormatException
Returns theLongvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLongOr
default Long getLongOr(Object aKey, Long aDefaultValue) throws NumberFormatException
Returns theLongvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLongOr
default Long getLongOr(Object[] aPathElements, Long aDefaultValue) throws NumberFormatException
Returns theLongvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLongOr
default Long getLongOr(Collection<?> aPathElements, Long aDefaultValue) throws NumberFormatException
Returns theLongvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLongOr
default Long getLongOr(String aKey, Long aDefaultValue) throws NumberFormatException
Returns theLongvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getLongOr
default Long getLongOr(String[] aPathElements, Long aDefaultValue) throws NumberFormatException
Returns theLongvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Longrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShort
default Short getShort(Object... aPathElements) throws NumberFormatException
Returns theShortvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShort
default Short getShort(Collection<?> aPathElements) throws NumberFormatException
Returns theShortvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShort
default Short getShort(Object aKey) throws NumberFormatException
Returns theShortvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShort
default Short getShort(String... aPathElements) throws NumberFormatException
Returns theShortvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShort
default Short getShort(String aKey) throws NumberFormatException
Returns theShortvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShortOr
default Short getShortOr(Object aKey, Short aDefaultValue) throws NumberFormatException
Returns theShortvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShortOr
default Short getShortOr(Object[] aPathElements, Short aDefaultValue) throws NumberFormatException
Returns theShortvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShortOr
default Short getShortOr(Collection<?> aPathElements, Short aDefaultValue) throws NumberFormatException
Returns theShortvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShortOr
default Short getShortOr(String aKey, Short aDefaultValue) throws NumberFormatException
Returns theShortvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getShortOr
default Short getShortOr(String[] aPathElements, Short aDefaultValue) throws NumberFormatException
Returns theShortvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Shortrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getString
default String getString(Object... aPathElements) throws NumberFormatException
Returns theStringvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getString
default String getString(Collection<?> aPathElements) throws NumberFormatException
Returns theStringvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getString
default String getString(Object aKey) throws NumberFormatException
Returns theStringvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getString
default String getString(String... aPathElements) throws NumberFormatException
Returns theStringvalue of the property referred to by the path elements. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getString
default String getString(String aKey) throws NumberFormatException
Returns theStringvalue of the property referred to by the key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to retrieve the value.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getStringOr
default String getStringOr(Object aKey, String aDefaultValue) throws NumberFormatException
Returns theStringvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getStringOr
default String getStringOr(Object[] aPathElements, String aDefaultValue) throws NumberFormatException
Returns theStringvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getStringOr
default String getStringOr(Collection<?> aPathElements, String aDefaultValue) throws NumberFormatException
Returns theStringvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getStringOr
default String getStringOr(String aKey, String aDefaultValue) throws NumberFormatException
Returns theStringvalue of the property referred to by the key or the provided default value if there is no such value for the given key. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aKey- The key for which to get the element.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
getStringOr
default String getStringOr(String[] aPathElements, String aDefaultValue) throws NumberFormatException
Returns theStringvalue of the property referred to by the path represented by the given path elements or the provided default value if there is no such value for the given path. As property keys and values are of typeString, theStringvalue is converted accordingly.- Parameters:
aPathElements- The path elements for which to retrieve the value.aDefaultValue- The default value in case there is no such value for the given key.- Returns:
- The
Stringrepresentation of the key'sStringvalue. - Throws:
NumberFormatException- thrown in case conversion fails.
-
-