common_helper/src/main/java/com/xiongyingqi/util/SystemPropertyUtils.java
public static String resolvePlaceholders(String text, boolean ignoreUnresolvablePlaceholders) {
        PropertyPlaceholderHelper helper = (ignoreUnresolvablePlaceholders ? nonStrictHelper : strictHelper);
        return helper.replacePlaceholders(text, new SystemPropertyPlaceholderResolver(text));
    }
public static String resolvePlaceholders(String text, boolean ignoreUnresolvablePlaceholders) {
        PropertyPlaceholderHelper helper = (ignoreUnresolvablePlaceholders ? nonStrictHelper : strictHelper);
        return helper.replacePlaceholders(text, new SystemPropertyPlaceholderResolver(text));
    }
public static String resolvePlaceholders ( String text , boolean ignoreUnresolvablePlaceholders ) { PropertyPlaceholderHelper helper = ( ignoreUnresolvablePlaceholders ? nonStrictHelper : strictHelper ) ; return helper . replacePlaceholders ( text , new SystemPropertyPlaceholderResolver ( text ) ) ; }
Resolve ${...} placeholders in the given text, replacing them with corresponding system property values.
Unresolvable placeholders with no default value are ignored and passed through unchanged if the
flag is set to true.

@param text                           the String to resolve
@param ignoreUnresolvablePlaceholders flag to determine is unresolved placeholders are ignored
@return the resolved String
@throws IllegalArgumentException if there is an unresolvable placeholder and the flag is false
@see #PLACEHOLDER_PREFIX
@see #PLACEHOLDER_SUFFIX
Resolve $ { ... } placeholders in the given text replacing them with corresponding system property values . Unresolvable placeholders with no default value are ignored and passed through unchanged if the flag is set to true .