/** * Does replacement on the given string with token matching. * This uses the defined begintoken and endtoken values which default * to @ for both. * This resets the passedTokens and calls iReplaceTokens to * do the actual replacements. * * @param line The line in which to process embedded tokens. * @return The input string after token replacement. */ public synchronized String replaceTokens(String line) { return iReplaceTokens(line); }
String value = iReplaceTokens(line); if (!value.contains(beginToken) && !duplicateToken && recurseDepth == 1) { passedTokens = null;