public class EnvironmentPropertySource extends java.lang.Object implements PropertySource
LOG4J_ so as not to
conflict with other variables. Normalized environment variables follow a
scheme like this: log4j2.fooBarProperty would normalize to
LOG4J_FOO_BAR_PROPERTY.PropertySource.Comparator, PropertySource.Util| Constructor and Description |
|---|
EnvironmentPropertySource() |
| Modifier and Type | Method and Description |
|---|---|
void |
forEach(BiConsumer<java.lang.String,java.lang.String> action)
Iterates over all properties and performs an action for each key/value pair.
|
java.lang.CharSequence |
getNormalForm(java.lang.Iterable<? extends java.lang.CharSequence> tokens)
Converts a list of property name tokens into a normal form.
|
int |
getPriority()
Returns the order in which this PropertySource has priority.
|
public int getPriority()
PropertySourcegetPriority in interface PropertySourcepublic void forEach(BiConsumer<java.lang.String,java.lang.String> action)
PropertySourceforEach in interface PropertySourceaction - action to perform on each key/value pairpublic java.lang.CharSequence getNormalForm(java.lang.Iterable<? extends java.lang.CharSequence> tokens)
PropertySourcegetNormalForm in interface PropertySourcetokens - list of property name tokensCopyright © 2006-2021 OPS4J - Open Participation Software for Java. All Rights Reserved.