java.lang.Cloneable, ChainableReader, TokenFilter.Filterpublic static class TokenFilter.ReplaceString extends TokenFilter.ChainableReaderFilter
description, location, project| Constructor | Description |
|---|---|
ReplaceString() |
| Modifier and Type | Method | 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
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectchain, setByLinepublic 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