public static class PropertiesUtil.PrefixAdder extends java.lang.Object implements PropertiesUtil.Adder
Constructor and Description |
---|
PrefixAdder(java.util.Properties props,
java.lang.String prefix) |
Modifier and Type | Method and Description |
---|---|
void |
addProperties(java.util.Properties properties)
Add all the input Properties.
|
void |
addProperty(java.lang.String name,
java.lang.String value)
Add a property.
|
PropertiesUtil.Adder |
withPrefix(java.lang.String prefix) |
public PrefixAdder(java.util.Properties props, java.lang.String prefix)
public void addProperty(java.lang.String name, java.lang.String value)
PropertiesUtil.Adder
addProperty
in interface PropertiesUtil.Adder
name
- namevalue
- valuepublic void addProperties(java.util.Properties properties)
PropertiesUtil.Adder
addProperties
in interface PropertiesUtil.Adder
properties
- propertiespublic PropertiesUtil.Adder withPrefix(java.lang.String prefix)