public class RuntimePropertiesComposite extends AbstractPropertiesDecorator<Properties> implements Properties
RuntimePropertiesComposite composite represent the system
properties as well as the environment variables (in that order) and Java
properties and are actually constructed from SystemProperties,
EnvironmentProperties and JavaProperties instances
(in that precedence).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.PropertiesMutatorMixin_propertiesDEFAULT_COMMENT| Constructor and Description |
|---|
RuntimePropertiesComposite(File aFile)
Constructs
RuntimePropertiesComposite delegating to
SystemProperties and EnvironmentProperties as
well as to the JavaProperties (in that order). |
RuntimePropertiesComposite(InputStream aInputStream)
Reads the properties from the given
InputStream. |
RuntimePropertiesComposite(String aFilePath)
Constructs
RuntimePropertiesComposite delegating to
SystemProperties and EnvironmentProperties as
well as to the JavaProperties (in that order). |
RuntimePropertiesComposite(URL aUrl)
Loads the properties from the given
URL. |
childrenOf, containsKey, get, getDelimiter, isEmpty, keySet, retrieveFrom, retrieveTo, size, toDataStructure, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchildrenOf, 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, toRootPathcontainsKey, get, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShortpublic RuntimePropertiesComposite(InputStream aInputStream) throws IOException, ParseException
InputStream.aInputStream - The InputStream from which to read the
properties.IOException - thrown in case accessing or processing the properties
file failed.ParseException - Signals that an error has been reached
unexpectedly while parsing the data to be loaded.public RuntimePropertiesComposite(URL aUrl) throws IOException, ParseException
URL.aUrl - The URL from which to read the properties.IOException - thrown in case accessing or processing the properties
file failed.ParseException - Signals that an error has been reached
unexpectedly while parsing the data to be loaded.public RuntimePropertiesComposite(File aFile) throws IOException, ParseException
RuntimePropertiesComposite delegating to
SystemProperties and EnvironmentProperties as
well as to the JavaProperties (in that order).
Loads a properties file from the file directly or (if not found) from
first folder containing such a file as of the specification for the
method RuntimeUtility.toConfigDirs().aFile - The file of the properties to load.IOException - thrown in case accessing or processing the properties
file failed.ParseException - Signals that an error has been reached
unexpectedly while parsing the data to be loaded.public RuntimePropertiesComposite(String aFilePath) throws IOException, ParseException
RuntimePropertiesComposite delegating to
SystemProperties and EnvironmentProperties as
well as to the JavaProperties (in that order).
Loads a properties file from the file directly or (if not found) from
first folder containing such a file as of the specification for the
method RuntimeUtility.toConfigDirs().aFilePath - The file of the properties file to load.IOException - thrown in case accessing or processing the properties
file failed.ParseException - Signals that an error has been reached
unexpectedly while parsing the data to be loaded.Copyright © 2018. All rights reserved.