public interface StrictProperties extends Properties
StrictProperties
extends the Properties
with all the
getters to throw a KeyNotFoundRuntimeException
instead of returning
null in case the key was not found.Modifier and Type | Interface and Description |
---|---|
static interface |
StrictProperties.MutableStrictProperties
The Interface MutableStrictProperties.
|
static interface |
StrictProperties.StrictPropertiesBuilder
The Interface StrictPropertiesBuilder.
|
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
DEFAULT_COMMENT
Modifier and Type | Method and Description |
---|---|
default String |
get(Enum<?> aKey) |
String |
get(Object aKey) |
default Boolean |
getBoolean(Enum<?> aKey) |
default Boolean |
getBoolean(String aKey) |
default Byte |
getByte(Enum<?> aKey) |
default Byte |
getByte(String aKey) |
default Character |
getCharacter(Enum<?> aKey) |
default Character |
getCharacter(String aKey) |
default Double |
getDouble(Enum<?> aKey) |
default Double |
getDouble(String aKey) |
default Float |
getFloat(Enum<?> aKey) |
default Float |
getFloat(String aKey) |
default Integer |
getInteger(Enum<?> aKey) |
default Integer |
getInteger(String aKey) |
default Long |
getLong(Enum<?> aKey) |
default Long |
getLong(String aKey) |
default Short |
getShort(Enum<?> aKey) |
default Short |
getShort(String aKey) |
containsValue, getType, retrieve, retrieveFrom, retrieveTo, toMap, toProperties, toPropertyPath
toInstance, toInstance, toType, toType
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
default Character getCharacter(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getCharacter
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Integer getInteger(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getInteger
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Long getLong(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getLong
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Short getShort(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getShort
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Byte getByte(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getByte
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Double getDouble(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getDouble
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Float getFloat(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getFloat
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Boolean getBoolean(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getBoolean
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default String get(Enum<?> aKey) throws org.refcodes.structure.KeyNotFoundRuntimeException
get
in interface org.refcodes.structure.PropertiesAccessorMixin
org.refcodes.structure.KeyNotFoundRuntimeException
default Character getCharacter(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getCharacter
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Integer getInteger(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getInteger
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Short getShort(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getShort
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Byte getByte(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getByte
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Double getDouble(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getDouble
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Float getFloat(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getFloat
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Boolean getBoolean(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getBoolean
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
default Long getLong(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getLong
in interface org.refcodes.structure.PropertiesAccessorMixin
NumberFormatException
org.refcodes.structure.KeyNotFoundRuntimeException
Copyright © 2017. All rights reserved.