public static class StringReplace.SimpleStringReplace extends StringReplace
StringReplace.SimpleStringReplace
Constructor and Description |
---|
StringReplace.SimpleStringReplace() |
StringReplace.SimpleStringReplace(StringSearch searcher) |
Modifier and Type | Method and Description |
---|---|
char[] |
replace(char[] text,
char[] target,
char[] replacement,
int firstId)
Sub class shall implement the replacement logic in this method
|
apply, wrap
public StringReplace.SimpleStringReplace(StringSearch searcher)
public StringReplace.SimpleStringReplace()
public char[] replace(char[] text, char[] target, char[] replacement, int firstId)
StringReplace
Sub class shall implement the replacement logic in this method
replace
in class StringReplace
text
- the text in which search string will be replacedtarget
- the target string to be replacedreplacement
- the replacement stringfirstId
- the first index of targe inside text. If negative means not searched yetCopyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.