public class FilterRegex extends Object
| Constructor and Description |
|---|
FilterRegex()
Instantiates a new filter regex.
|
FilterRegex(String regex1)
Instantiates a new filter regex.
|
| Modifier and Type | Method and Description |
|---|---|
String |
filter(String input) |
String |
getRegex()
Gets the regex.
|
void |
setRegex(String regex)
Sets the regex.
|
static String |
stringMatcherByPattern(String input,
String patternStr)
this remove the linebreak.
|
public FilterRegex()
public FilterRegex(String regex1)
regex1 - the regex1public static String stringMatcherByPattern(String input, String patternStr)
input - the inputpatternStr - the pattern strpublic String getRegex()
public void setRegex(String regex)
regex - the new regexCopyright © 2015–2017 eBay. All rights reserved.