Modifier and Type | Class and Description |
---|---|
class |
AbstractPropertiesDecorator<T extends Properties>
Decorates the provided
Properties and delegates method calls to them
Properties . |
Modifier and Type | Interface and Description |
---|---|
interface |
ProfileProperties
The
ProfileProperties extend the Properties with
Runtime-Profiles support. |
static interface |
ProfileProperties.MutableProfileProperties
The Interface MutableProfileProperties.
|
static interface |
ProfileProperties.ProfilePropertiesBuilder
The Interface ProfilePropertiesBuilder.
|
static interface |
Properties.MutableProperties
The interface
Properties.MutableProperties defines "dirty" methods allowing
to modify ("mutate") the properties. |
static interface |
Properties.PropertiesBuilder
The interface
Properties.PropertiesBuilder defines builder functionality on
top of the properties . |
interface |
ResourceProperties
The
ResourceProperties are a specialization of the
Dictionary . |
static interface |
ResourceProperties.MutableResoureProperties
The interface
ResourceProperties.MutableResoureProperties defines "dirty" methods
allowing to modify ("mutate") the ResourceProperties . |
static interface |
ResourceProperties.ResourcePropertiesBuilder
The interface
ResourceProperties.ResourcePropertiesBuilder defines builder
functionality on top of the ResourceProperties.MutableResoureProperties . |
interface |
ScheduledResourceProperties
The
ScheduledResourceProperties enrich ResourceProperties
with scheduling functionality whereby the properties are being automatically
reloaded periodically via ResourceProperties.reload(ReloadMode) . |
static interface |
ScheduledResourceProperties.ScheduledMuableResourceProperties
The interface
ScheduledResourceProperties.ScheduledMuableResourceProperties defines "dirty"
methods allowing to modify ("mutate") the
ScheduledResourceProperties . |
static interface |
ScheduledResourceProperties.ScheduledResourcePropertiesBuilder
The interface
ScheduledResourceProperties.ScheduledResourcePropertiesBuilder defines builder
functionality on top of the ScheduledResourceProperties.ScheduledMuableResourceProperties . |
interface |
StrictProperties
The
StrictProperties extends the Properties with all the
getters to throw a KeyNotFoundRuntimeException instead of returning
null in case the key was not found. |
static interface |
StrictProperties.MutableStrictProperties
The Interface MutableStrictProperties.
|
static interface |
StrictProperties.StrictPropertiesBuilder
The Interface StrictPropertiesBuilder.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPropertiesBuilderDecorator<T extends Properties.PropertiesBuilder> |
class |
AbstractPropertiesDecorator<T extends Properties>
Decorates the provided
Properties and delegates method calls to them
Properties . |
class |
AbstractResourcePropertiesBuilder
Implementation of the mutable
ResourceProperties.ResourcePropertiesBuilder interface. |
class |
AbstractResourcePropertiesBuilderDecorator<T extends ResourceProperties.ResourcePropertiesBuilder> |
class |
AbstractResourcePropertiesDecorator<T extends ResourceProperties>
Decorates the provided
ResourceProperties and delegates method calls
to them ResourceProperties . |
class |
EnvironmentProperties
Extension of the
Properties type overwriting methods in order to
access the operating system's environment variables as of env on
Linux or Unix shells or set on Windows machines (e.g." |
class |
JavaProperties
Implementation of the
ResourceProperties interface with support of so
called "Java properties" (or just "properties"). |
class |
JavaPropertiesBuilder
Implementation of the
ResourceProperties.ResourcePropertiesBuilder interface with
support of so called "Java properties" (or just "properties"). |
class |
JsonProperties
Implementation of the
ResourceProperties interface with support of so
called "JSON properties". |
class |
JsonPropertiesBuilder
Implementation of the
ResourceProperties.ResourcePropertiesBuilder interface with
support of so called "JSON properties" (or just "properties"). |
class |
NormalizedPropertiesDecorator
The
NormalizedPropertiesDecorator type decorates a Properties
instance and converts a path delimiter such as the full-stop (".") to the
Properties properties' path delimiter slash ("/", as of
AbstractPropertiesDecorator.getDelimiter() ). |
class |
ProfilePropertiesDecorator
The
ProfilePropertiesDecorator type decorates a Properties
instance and enriches it with profile support as of
ProfileProperties . |
class |
ProfilePropertiesProjection
The
ProfilePropertiesProjection applies the profiles as of
ProfileProperties.getRuntimeProfiles() onto the encapsulated
Properties (ProfileProperties ) and provides a view of them
Properties (ProfileProperties ) from the profiles' point of
view e.g. as when profiles have been applied to them Properties
(ProfileProperties ). |
class |
PropertiesBuilderImpl
The Class PropertiesBuilderImpl.
|
class |
PropertiesImpl
The Class PropertiesImpl.
|
class |
PropertiesPrecedenceComposite
Retrieve properties from various different properties sources
(
Properties instances) by querying all the herein contained
Properties instances in the order of them being added. |
class |
RuntimePropertiesComposite
The
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). |
class |
ScheduledResourcePropertiesBuilderDecorator
The
ScheduledResourcePropertiesBuilderDecorator decorates
ResourceProperties.ResourcePropertiesBuilder from which the properties are to be
reloaded periodically via AbstractResourcePropertiesBuilderDecorator.reload(ReloadMode) . |
class |
ScheduledResourcePropertiesDecorator
The
ScheduledResourcePropertiesDecorator decorates
ResourceProperties from which the properties are to be reloaded
periodically via AbstractResourcePropertiesDecorator.reload(ReloadMode) . |
class |
StrictPropertiesDecorator
The
StrictPropertiesDecorator type decorates a Properties
instance with all the getters to throw a KeyNotFoundRuntimeException
instead of returning null in case the key was not found. |
class |
SystemProperties
Extension of the
Properties type overwriting methods in order to
access system properties as passed via the "-Dkey=value" when launching the
JVM (e.g.java -Dconsole.width=220)
The keys are transformed to a system properties by removing a prefixed "/"
path delimiter (as of PropertiesImpl.getDelimiter() and converting all other path
delimiters "/" to the system property's (de facto standard) separator ".". |
class |
TomlProperties
Implementation of the
ResourceProperties interface with support of so
called "TOML properties". |
class |
TomlPropertiesBuilder
Implementation of the
ResourceProperties.ResourcePropertiesBuilder interface with
support of so called "TOML properties". |
class |
XmlProperties
Implementation of the
ResourceProperties interface with support of so
called "XML properties". |
class |
XmlPropertiesBuilder
Implementation of the
ResourceProperties.ResourcePropertiesBuilder interface with
support of so called "XML properties" (or just "properties"). |
class |
YamlProperties
Implementation of the
ResourceProperties interface with support of so
called "YAML properties". |
class |
YamlPropertiesBuilder
Implementation of the
ResourceProperties.ResourcePropertiesBuilder interface with
support of so called "YAML properties" (or just "properties"). |
Modifier and Type | Field and Description |
---|---|
protected T |
AbstractPropertiesDecorator._properties |
Modifier and Type | Method and Description |
---|---|
static Properties |
PropertiesSugar.fromEnvironmentVariables()
Returns
Properties representing the operating system's
environment variables as of env on Linux or Unix shells or
set on Windows machines. |
static Properties |
PropertiesSugar.fromProfile(Properties aProperties)
Wraps the
Properties with a profile projection. |
static Properties |
PropertiesSugar.fromProfile(Properties aProperties,
String... aProfiles)
Wraps the
Properties with a profile projection. |
static Properties |
PropertiesSugar.fromSystemProperties()
Returns
Properties representing the system properties as passed
via the "-Dkey=value" when launching the JVM (e.g.java
-Dconsole.width=220). |
default Properties |
ResourceProperties.MutableResoureProperties.loadFrom(Class<?> aResourceClass,
String aFilePath)
Loads the properties from the given class resource (from inside a
JAR).
|
default Properties |
ResourceProperties.MutableResoureProperties.loadFrom(Class<?> aResourceClass,
String aFilePath,
char... aDelimiters)
Loads the properties from the given class resource (from inside a
JAR).
|
default Properties |
ResourceProperties.MutableResoureProperties.loadFrom(File aFile)
Loads the properties from the given
File . |
Properties |
AbstractResourcePropertiesBuilderDecorator.loadFrom(File aFile,
char... aDelimiters)
Loads the properties from the given
File . |
Properties |
AbstractResourcePropertiesBuilder.loadFrom(File aFile,
char... aDelimiters)
Loads the properties from the given
File . |
Properties |
ResourceProperties.MutableResoureProperties.loadFrom(File aFile,
char... aDelimiters)
Loads the properties from the given
File . |
default Properties |
ResourceProperties.MutableResoureProperties.loadFrom(InputStream aInputStream)
Loads the properties from the given
InputStream . |
Properties |
YamlPropertiesBuilder.loadFrom(InputStream aInputStream,
char... aDelimiters)
Loads the properties from the given
InputStream . |
Properties |
XmlPropertiesBuilder.loadFrom(InputStream aInputStream,
char... aDelimiters)
Loads the properties from the given
InputStream . |
Properties |
TomlPropertiesBuilder.loadFrom(InputStream aInputStream,
char... aDelimiters)
Loads the properties from the given
InputStream . |
Properties |
AbstractResourcePropertiesBuilderDecorator.loadFrom(InputStream aInputStream,
char... aDelimiters)
Loads the properties from the given
InputStream . |
Properties |
ResourceProperties.MutableResoureProperties.loadFrom(InputStream aInputStream,
char... aDelimiters)
Loads the properties from the given
InputStream . |
Properties |
JsonPropertiesBuilder.loadFrom(InputStream aInputStream,
char... aDelimiters)
Loads the properties from the given
InputStream . |
Properties |
JavaPropertiesBuilder.loadFrom(InputStream aInputStream,
char... aDelimiters)
Loads the properties from the given
InputStream . |
default Properties |
ResourceProperties.MutableResoureProperties.loadFrom(String aFilePath)
Loads the properties from the given file path's
File . |
default Properties |
ResourceProperties.MutableResoureProperties.loadFrom(String aFilePath,
char... aDelimiters)
Loads the properties from the given file path's
File . |
default Properties |
ResourceProperties.MutableResoureProperties.loadFrom(URL aUrl)
Loads the properties from the given
URL . |
default Properties |
ResourceProperties.MutableResoureProperties.loadFrom(URL aUrl,
char... aDelimiters)
Loads the properties from the given
URL . |
Properties |
XmlProperties.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
AbstractResourcePropertiesBuilderDecorator.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
AbstractResourcePropertiesDecorator.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
AbstractResourcePropertiesBuilder.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
JavaProperties.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
ResourceProperties.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
JsonProperties.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
TomlProperties.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
YamlProperties.reload()
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
XmlProperties.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
AbstractResourcePropertiesBuilderDecorator.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
AbstractResourcePropertiesDecorator.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
AbstractResourcePropertiesBuilder.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
JavaProperties.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
ResourceProperties.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
JsonProperties.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
TomlProperties.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
Properties |
YamlProperties.reload(ReloadMode aReloadMode)
Reloads the
ResourceProperties from the resource to which the
ResourceProperties are attached to (such as a File as of
ResourceProperties.MutableResoureProperties.loadFrom(File) or
ResourceProperties.saveTo(File) ). |
default Properties |
Properties.retrieve(String aFromPath,
String aToPath) |
Properties |
ProfilePropertiesProjection.retrieveFrom(String aFromPath) |
Properties |
XmlProperties.retrieveFrom(String aFromPath) |
Properties |
AbstractPropertiesDecorator.retrieveFrom(String aFromPath) |
Properties |
PropertiesImpl.retrieveFrom(String aFromPath) |
Properties |
Properties.retrieveFrom(String aFromPath) |
Properties |
NormalizedPropertiesDecorator.retrieveFrom(String aFromPath) |
Properties |
PropertiesBuilderImpl.retrieveFrom(String aFromPath) |
Properties |
JavaProperties.retrieveFrom(String aFromPath) |
Properties |
JsonProperties.retrieveFrom(String aFromPath) |
Properties |
TomlProperties.retrieveFrom(String aFromPath) |
Properties |
YamlProperties.retrieveFrom(String aFromPath) |
Properties |
PropertiesPrecedenceComposite.retrieveFrom(String aFromPath) |
Properties |
ProfilePropertiesProjection.retrieveTo(String aToPath) |
Properties |
XmlProperties.retrieveTo(String aToPath) |
Properties |
AbstractPropertiesDecorator.retrieveTo(String aToPath) |
Properties |
PropertiesImpl.retrieveTo(String aToPath) |
Properties |
Properties.retrieveTo(String aToPath) |
Properties |
NormalizedPropertiesDecorator.retrieveTo(String aToPath) |
Properties |
PropertiesBuilderImpl.retrieveTo(String aToPath) |
Properties |
JavaProperties.retrieveTo(String aToPath) |
Properties |
JsonProperties.retrieveTo(String aToPath) |
Properties |
TomlProperties.retrieveTo(String aToPath) |
Properties |
YamlProperties.retrieveTo(String aToPath) |
Properties |
PropertiesPrecedenceComposite.retrieveTo(String aToPath) |
default Properties |
ResourceProperties.MutableResoureProperties.seekFrom(Class<?> aResourceClass,
String aFilePath)
Loads a properties file from the file path directly or (if not found)
from the first folder containing such a file as of the specification
for the method
RuntimeUtility.toConfigDirs() . |
Properties |
AbstractResourcePropertiesBuilderDecorator.seekFrom(Class<?> aResourceClass,
String aFilePath,
char... aDelimiters)
Loads a properties file from the file path directly or (if not found)
from the first folder containing such a file as of the specification
for the method
RuntimeUtility.toConfigDirs() . |
Properties |
AbstractResourcePropertiesBuilder.seekFrom(Class<?> aResourceClass,
String aFilePath,
char... aDelimiters)
Loads a properties file from the file path directly or (if not found)
from the first folder containing such a file as of the specification
for the method
RuntimeUtility.toConfigDirs() . |
Properties |
ResourceProperties.MutableResoureProperties.seekFrom(Class<?> aResourceClass,
String aFilePath,
char... aDelimiters)
Loads a properties file from the file path directly or (if not found)
from the first folder containing such a file as of the specification
for the method
RuntimeUtility.toConfigDirs() . |
default Properties |
ResourceProperties.MutableResoureProperties.seekFrom(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.toConfigDirs() . |
default Properties |
ResourceProperties.MutableResoureProperties.seekFrom(File aFile,
char... aDelimiters)
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() . |
default Properties |
ResourceProperties.MutableResoureProperties.seekFrom(String aFilePath)
Loads a properties file from the file path directly or (if not found)
from the first folder containing such a file as of the specification
for the method
RuntimeUtility.toConfigDirs() . |
default Properties |
ResourceProperties.MutableResoureProperties.seekFrom(String aFilePath,
char... aDelimiters)
Loads a properties file from the file path directly or (if not found)
from the first folder containing such a file as of the specification
for the method
RuntimeUtility.toConfigDirs() . |
static Properties |
PropertiesSugar.toNormalized(Properties aProperties)
Decorates the provided
Properties with additional behavior by
normalizing the key representing the path pointing to the according
value. |
static Properties |
PropertiesSugar.toNormalized(Properties aProperties,
char[] aDelimiters)
Decorates the provided
Properties with additional behavior by
normalizing the key representing the path pointing to the according
value. |
static Properties |
PropertiesSugar.toPrecedence(Properties... aProperties)
Creates a
Properties composite querying the provided
Properties in the given order. |
default Properties |
ProfileProperties.toRuntimeProfile()
Evaluates the active Runtime-Profiles as of
ProfileProperties.getRuntimeProfiles()
and creates the according Properties . |
default Properties |
ProfileProperties.toRuntimeProfile(String... aProfiles)
Evaluates the provided Runtime-Profiles and creates the according
Properties . |
Modifier and Type | Method and Description |
---|---|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToJavaProperties(Properties aProperties,
File aFile)
Files the Java properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToJavaProperties(Properties aProperties,
String aFilePath)
Files the Java properties to the given file's path.
|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToJsonProperties(Properties aProperties,
File aFile)
Files the JSON properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToJsonProperties(Properties aProperties,
String aFilePath)
Files the JSON properties to the given file's path.
|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToTomlProperties(Properties aProperties,
File aFile)
Files the TOML properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToTomlProperties(Properties aProperties,
String aFilePath)
Files the TOML properties to the given file's path.
|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToXmlProperties(Properties aProperties,
File aFile)
Files the XML properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToXmlProperties(Properties aProperties,
String aFilePath)
Files the XML properties to the given file's path.
|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToYamlProperties(Properties aProperties,
File aFile)
Files the YAML properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.fileToYamlProperties(Properties aProperties,
String aFilePath)
Files the YAML properties to the given file's path.
|
static Properties |
PropertiesSugar.fromProfile(Properties aProperties)
Wraps the
Properties with a profile projection. |
static Properties |
PropertiesSugar.fromProfile(Properties aProperties,
String... aProfiles)
Wraps the
Properties with a profile projection. |
default void |
Properties.MutableProperties.insert(Properties aFrom)
Method to semantically emphasize that we support our own types.
|
default void |
Properties.MutableProperties.insert(String aToPath,
Properties aFrom,
String aFromPath)
Method to semantically emphasize that we support our own types.
|
default void |
Properties.MutableProperties.insertFrom(Properties aFrom,
String aFromPath)
Method to semantically emphasize that we support our own types.
|
default void |
Properties.MutableProperties.insertTo(String aToPath,
Properties aFrom)
Method to semantically emphasize that we support our own types.
|
default void |
Properties.MutableProperties.putAll(Properties aProperties)
This method inserts all elements (key/value-pairs) found in the
provided
Properties instances of interoperability reasons. |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToJavaProperties(Properties aProperties,
File aFile)
Saves the Java properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToJavaProperties(Properties aProperties,
OutputStream aOutputStream)
Writes the properties to the given
OutputStream . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToJavaProperties(Properties aProperties,
String aFilePath)
Saves the Java properties to the given file's path.
|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToJsonProperties(Properties aProperties,
File aFile)
Saves the JSON properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToJsonProperties(Properties aProperties,
OutputStream aOutputStream)
Writes the properties to the given
OutputStream . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToJsonProperties(Properties aProperties,
String aFilePath)
Saves the JSON properties to the given file's path.
|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToTomlProperties(Properties aProperties,
File aFile)
Saves the TOML properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToTomlProperties(Properties aProperties,
OutputStream aOutputStream)
Writes the properties to the given
OutputStream . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToTomlProperties(Properties aProperties,
String aFilePath)
Saves the TOML properties to the given file's path.
|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToXmlProperties(Properties aProperties,
File aFile)
Saves the XML properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToXmlProperties(Properties aProperties,
OutputStream aOutputStream)
Writes the properties to the given
OutputStream . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToXmlProperties(Properties aProperties,
String aFilePath)
Saves the XML properties to the given file's path.
|
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToYamlProperties(Properties aProperties,
File aFile)
Saves the YAML properties to the given
File . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToYamlProperties(Properties aProperties,
OutputStream aOutputStream)
Writes the properties to the given
OutputStream . |
static ResourceProperties.ResourcePropertiesBuilder |
PropertiesSugar.saveToYamlProperties(Properties aProperties,
String aFilePath)
Saves the YAML properties to the given file's path.
|
static Properties |
PropertiesSugar.toNormalized(Properties aProperties)
Decorates the provided
Properties with additional behavior by
normalizing the key representing the path pointing to the according
value. |
static Properties |
PropertiesSugar.toNormalized(Properties aProperties,
char[] aDelimiters)
Decorates the provided
Properties with additional behavior by
normalizing the key representing the path pointing to the according
value. |
static Properties |
PropertiesSugar.toPrecedence(Properties... aProperties)
Creates a
Properties composite querying the provided
Properties in the given order. |
static Properties.PropertiesBuilder |
PropertiesSugar.toPropertiesBuilder(Properties... aProperties)
Creates a new
Properties.PropertiesBuilder from the Properties . |
default Properties.PropertiesBuilder |
Properties.PropertiesBuilder.withInsert(Properties aFrom)
Method to semantically emphasize that we support our own types.
|
default Properties.PropertiesBuilder |
Properties.PropertiesBuilder.withInsert(String aToPath,
Properties aFrom,
String aFromPath)
Method to semantically emphasize that we support our own types.
|
default Properties.PropertiesBuilder |
Properties.PropertiesBuilder.withInsertFrom(Properties aFrom,
String aFromPath)
Method to semantically emphasize that we support our own types.
|
default Properties.PropertiesBuilder |
Properties.PropertiesBuilder.withInsertTo(String aToPath,
Properties aFrom)
Method to semantically emphasize that we support our own types.
|
Constructor and Description |
---|
AbstractResourcePropertiesBuilder(Properties aProperties)
Create a
AbstractResourcePropertiesBuilder instance containing
the elements of the provided Properties instance using the
default path delimiter "/" (Delimiter.PATH ) for the path
declarations |
JavaProperties(Properties aProperties)
Create a
JavaProperties instance containing the
elements of the provided Properties instance using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations |
JavaPropertiesBuilder(Properties aProperties)
Create a
JavaPropertiesBuilder instance containing the
elements of the provided Properties instance using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations |
JsonProperties(Properties aProperties)
Create a
JsonProperties instance containing the
elements of the provided Properties instance using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations |
JsonPropertiesBuilder(Properties aProperties)
Create a
JsonPropertiesBuilder instance containing the
elements of the provided Properties instance using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations |
NormalizedPropertiesDecorator(Properties aProperties)
Decorates the provided
Properties with additional behavior by
normalizing the key representing the path pointing to the according
value. |
NormalizedPropertiesDecorator(Properties aProperties,
char[] aDelimiters)
Decorates the provided
Properties with additional behavior by
normalizing the key representing the path pointing to the according
value. |
ProfilePropertiesDecorator(Properties aProperties)
Decorates(!)
|
ProfilePropertiesProjection(Properties aProperties,
String... aProfiles)
Wraps the
Properties with a profile projection. |
PropertiesBuilderImpl(Properties aProperties)
Create a
Properties.PropertiesBuilder instance containing the elements of
the provided Properties instance using the default path delimiter
"/" (Delimiter.PATH ) for the path declarations |
PropertiesImpl(Properties aProperties)
Create a
Properties instance containing the elements of the
provided Properties instance using the default path delimiter "/"
(Delimiter.PATH ) for the path declarations |
PropertiesPrecedenceComposite(Properties... aProperties)
Creates a
Properties composite querying the provided
Properties in the given order. |
StrictPropertiesDecorator(Properties aProperties)
Decorates the provided
Properties with additional behavior with
all the getters to throw a KeyNotFoundRuntimeException instead of
returning null in case the key was not found . |
TomlPropertiesBuilder(Properties aProperties)
Create a
TomlPropertiesBuilder instance containing the
elements of the provided Properties instance using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations |
XmlProperties(Properties aProperties)
Create a
XmlProperties instance containing the
elements of the provided Properties instance using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations |
XmlPropertiesBuilder(Properties aProperties)
Create a
XmlPropertiesBuilder instance containing the
elements of the provided Properties instance using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations |
YamlProperties(Properties aProperties)
Create a
YamlProperties instance containing the elements of
the provided Properties instance using the default path delimiter
"/" (Delimiter.PATH ) for the path declarations |
YamlPropertiesBuilder(Properties aProperties)
Create a
YamlPropertiesBuilder instance containing the
elements of the provided Properties instance using the default
path delimiter "/" (Delimiter.PATH ) for the path declarations |
Copyright © 2018. All rights reserved.