| Package | Description |
|---|---|
| com.cloudhopper.commons.util |
| Modifier and Type | Method and Description |
|---|---|
static String |
StringUtil.substituteWithEnvironment(String string0)
Searches the string for occurrences of the pattern $ENV{key} and
attempts to replace this pattern with a value from the System environment
obtained using the 'key'.
|
static String |
StringUtil.substituteWithProperties(String string0,
String startStr,
String endStr,
Properties properties)
Searches string for occurrences of a pattern, extracts out a key name
between the startStr and endStr tokens, then attempts to replace the
property value into the string.
|
Copyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.