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.PropertiesBuilderorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMaporg.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.DelimiterPropertyorg.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.PropertiesMutatorMixinDEFAULT_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) |
childrenOf, containsValue, getType, retrieve, retrieveFrom, retrieveTo, toMap, toProperties, toPropertyPathtoInstance, toInstance, toType, toTypedirectories, directories, entries, entries, fromExternalKey, getArray, getArray, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath, toRootPathdefault Character getCharacter(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getCharacter in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Integer getInteger(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getInteger in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Long getLong(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getLong in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Short getShort(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getShort in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Byte getByte(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getByte in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Double getDouble(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getDouble in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Float getFloat(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getFloat in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Boolean getBoolean(String aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getBoolean in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault String get(Enum<?> aKey) throws org.refcodes.structure.KeyNotFoundRuntimeException
get in interface org.refcodes.structure.PropertiesAccessorMixinorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Character getCharacter(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getCharacter in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Integer getInteger(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getInteger in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Short getShort(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getShort in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Byte getByte(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getByte in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Double getDouble(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getDouble in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Float getFloat(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getFloat in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Boolean getBoolean(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getBoolean in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptiondefault Long getLong(Enum<?> aKey) throws NumberFormatException, org.refcodes.structure.KeyNotFoundRuntimeException
getLong in interface org.refcodes.structure.PropertiesAccessorMixinNumberFormatExceptionorg.refcodes.structure.KeyNotFoundRuntimeExceptionCopyright © 2018. All rights reserved.