public static class TokenFilter.ReplaceString extends TokenFilter.ChainableReaderFilter
description, location, project| Constructor and Description | 
|---|
| TokenFilter.ReplaceString() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | filter(java.lang.String line)Filter a string 'line' replacing from with to
 (Copy&Paste from the Replace task) | 
| void | setFrom(java.lang.String from)the from attribute | 
| void | setTo(java.lang.String to)the to attribute | 
chain, setByLineclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void setFrom(java.lang.String from)
from - the string to replacepublic void setTo(java.lang.String to)
to - the string to replace 'from' withpublic java.lang.String filter(java.lang.String line)
line - the string to be filtered