java.lang.Object
jp.ecuacion.lib.core.util.EmbeddedParameterUtil
Provides utilities to handle parameters embeddded in a string,
enclosed by some symbols from both sides.
-
Method Summary
-
Method Details
-
getParameterReplacedString
public static String getParameterReplacedString(String string, String startSymbol, String endSymbol, Map<String, String> map) throws AppExceptionReturns string with embedded parameters replaced.- Parameters:
string- string with parameters embeddedstartSymbol- left-side symbol enclosing parametersendSymbol- right-side symbol enclosing parametersmap- It stores parameter keys and those values.- Returns:
- string with embedded parameters replaced
- Throws:
AppException- AppException
-