public interface Replaceable
A Replaceable component will get asked for tokens, that should be used
in a search. These tokens will then be matched against a user given search
string.
| Modifier and Type | Method and Description |
|---|---|
int |
replace(java.lang.String regex,
java.lang.String replaceBy,
boolean caseSensitive)
Replace in object by replaceBy
|
int replace(java.lang.String regex,
java.lang.String replaceBy,
boolean caseSensitive)
throws java.lang.Exception
regex - Regular expression to search forreplaceBy - Text used as replacementcaseSensitive - flag, whether search should be done case sensitivejava.lang.Exception - when something fails while replacingCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.