public final class PropertiesResolver extends Object
Properties p = new Properties();
p.setProperty("p1","value1");
p.setProperty("p2","Value of p1 is ${p1}");
p = PropertiesResolver.resolveProperties(p);
It is shield against recursion.Modifier and Type | Method and Description |
---|---|
static Properties |
resolveProperties(Properties properties)
Resolve properties containing already known values.
|
static Properties |
resolveProperties(Properties properties,
Properties resolvedProperties)
Resolves properties.
|
public static Properties resolveProperties(Properties properties, Properties resolvedProperties)
properties
- properties we want to resolveresolvedProperties
- already known propertiespublic static Properties resolveProperties(Properties properties)
properties
- Copyright © 2018–2025. All rights reserved.