/** * replace and encode variables in a string object; * * @param src the source string containing variables to be replaced and encoded; * @param d the BizData object containing values; * @return * @throws UnsupportedEncodingException */ public static final String replaceAndEncode(String src, BizData d) throws UnsupportedEncodingException { String temp = StringConvertor.replace(src, d); return StringConvertor.encode(temp); }