public interface RuntimeProperties
extends org.refcodes.structure.ProfileProperties
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RuntimeProperties.MutableRuntimeProperties
The Interface MutableRuntimeProperties.
|
static interface |
RuntimeProperties.RuntimePropertiesBuilder
The Interface RuntimePropertiesBuilder.
|
org.refcodes.structure.ProfileProperties.MutableProfileProperties, org.refcodes.structure.ProfileProperties.ProfilePropertiesBuilderorg.refcodes.structure.Properties.MutableProperties, org.refcodes.structure.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.DelimiterProperty| Modifier and Type | Method and Description |
|---|---|
default RuntimeProperties |
retrieve(String aFromPath,
String aToPath)
Retrieve.
|
RuntimeProperties |
retrieveFrom(String aFromPath)
Retrieve from.
|
RuntimeProperties |
retrieveTo(String aToPath)
Retrieve to.
|
static RuntimeProperties |
toRuntimeProperties(File aFile)
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.toAppConfigDirs(). |
static RuntimeProperties |
toRuntimeProperties(InputStream aInputStream)
Loads the properties from the given
InputStream. |
static RuntimeProperties |
toRuntimeProperties(Map<?,?> aProperties)
Creates a
PropertiesBuilder instance filled with the provided
Properties. |
static RuntimeProperties |
toRuntimeProperties(org.refcodes.structure.Properties aProperties)
Creates a
PropertiesBuilder instance filled with the provided
Properties. |
static RuntimeProperties |
toRuntimeProperties(String aFilePath)
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.toAppConfigDirs(). |
static RuntimeProperties |
toRuntimeProperties(URL aURL)
Loads the properties from the given
URL. |
getRuntimeProfiles, getRuntimeProfilesPath, toProfileProperties, toProfileProperties, toProfileProperties, toProfileProperties, toProfileProperties, toProfileProperties, toProfileProperties, toRuntimeProfile, toRuntimeProfilecontainsValue, fromProperties, saveTo, saveTo, saveTo, saveTo, saveTo, saveTo, toMap, toProperties, toProperties, toProperties, toProperties, toProperties, toProperties, toProperties, toPropertyPathdirectories, directories, entries, entries, getArray, getArray, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toPathMap, toRootPathstatic RuntimeProperties toRuntimeProperties(org.refcodes.structure.Properties aProperties)
PropertiesBuilder instance filled with the provided
Properties.aProperties - the a propertiesProfileProperties.static RuntimeProperties toRuntimeProperties(Map<?,?> aProperties)
PropertiesBuilder instance filled with the provided
Properties.aProperties - the a propertiesRuntimeProperties.static RuntimeProperties toRuntimeProperties(InputStream aInputStream) throws IOException
InputStream. Save them using
the method Properties.saveTo(OutputStream).aInputStream - The InputStream from which to load the
properties.RuntimeProperties.IOException - thrown in case loading the properties failedstatic RuntimeProperties toRuntimeProperties(URL aURL) throws IOException
URL.aURL - The URL from which to load the properties.RuntimeProperties.IOException - thrown in case loading the properties failedstatic RuntimeProperties toRuntimeProperties(String aFilePath) throws IOException
RuntimeUtility.toAppConfigDirs().aFilePath - The file path from which to load the properties.IOException - thrown in case loading the properties failedstatic RuntimeProperties toRuntimeProperties(File aFile) throws IOException
RuntimeUtility.toAppConfigDirs().aFile - The File from which to load the properties.IOException - thrown in case loading the properties failedRuntimeProperties retrieveFrom(String aFromPath)
retrieveFrom in interface org.refcodes.structure.PathMap<String>retrieveFrom in interface org.refcodes.structure.ProfilePropertiesretrieveFrom in interface org.refcodes.structure.PropertiesaFromPath - the a from pathRuntimeProperties retrieveTo(String aToPath)
retrieveTo in interface org.refcodes.structure.PathMap<String>retrieveTo in interface org.refcodes.structure.ProfilePropertiesretrieveTo in interface org.refcodes.structure.PropertiesaToPath - the a to pathdefault RuntimeProperties retrieve(String aFromPath, String aToPath)
retrieve in interface org.refcodes.structure.PathMap<String>retrieve in interface org.refcodes.structure.ProfilePropertiesretrieve in interface org.refcodes.structure.PropertiesaFromPath - the a from pathaToPath - the a to pathCopyright © 2017. All rights reserved.