public class PropertyResolver extends Object
Constructor and Description |
---|
PropertyResolver(String propStr) |
Modifier and Type | Method and Description |
---|---|
String |
getRawString()
Returns the raw string passed in the ctor with any variables it might contain
|
String |
getResolvedString()
Returns a string with variables replaced by system property values if they exist
|
static List<String> |
resolveProperties(List<String> list)
Returns a List with variables replaced by system property values if they exist
|
static String |
resolveProperties(String str)
Returns a string with variables replaced by system property values if they exist
|
String |
toString()
Returns the resolved string
|
public PropertyResolver(String propStr)
public String getRawString()
public String getResolvedString()
public static String resolveProperties(String str)
public static List<String> resolveProperties(List<String> list)
This work is licensed under a Creative Commons Attribution 4.0 International License.