gnu.kawa.ant
Class LineCommenterSet
FilterSet
gnu.kawa.ant.LineCommenterSet
public class LineCommenterSet
extends FilterSet
LineCommenterSet
public LineCommenterSet()
getCommenterHash
public Hashtable getCommenterHash()
Gets the filter hash of the FilterSet.
- The hash of the tokens and values for quick lookup.
replaceTokens
public String replaceTokens(String line)
Does replacement on the given string with token matching.
This uses the defined begintoken and endtoken values which default to @ for both.
line
- The line to process the tokens in.
- The string with the tokens replaced.