public class CaseInsensitive extends Object implements StringSearchAlgorithm, StringSearchAlgorithmWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
CaseInsensitive.Factory |
static class |
CaseInsensitive.MultiFactory |
| Modifier and Type | Field and Description |
|---|---|
static net.amygdalum.util.text.CharMapping |
MAPPING |
| Modifier and Type | Method and Description |
|---|---|
static MultiStringSearchAlgorithmFactory |
caseInsensitive(MultiStringSearchAlgorithmFactory factory) |
static StringSearchAlgorithmFactory |
caseInsensitive(StringSearchAlgorithmFactory factory) |
StringFinder |
createFinder(net.amygdalum.util.io.CharProvider chars,
StringFinderOption... options)
creates a StringFinder instance from the pattern (given by the current instance) and the given document.
|
StringSearchAlgorithm |
getAlgorithm() |
int |
getPatternLength() |
public StringSearchAlgorithm getAlgorithm()
getAlgorithm in interface StringSearchAlgorithmWrapperpublic static StringSearchAlgorithmFactory caseInsensitive(StringSearchAlgorithmFactory factory)
public static MultiStringSearchAlgorithmFactory caseInsensitive(MultiStringSearchAlgorithmFactory factory)
public StringFinder createFinder(net.amygdalum.util.io.CharProvider chars, StringFinderOption... options)
StringSearchAlgorithmcreateFinder in interface StringSearchAlgorithmchars - the given document wrapped into a CharProvideroptions - the configuration options for the string finderpublic int getPatternLength()
getPatternLength in interface StringSearchAlgorithmCopyright © 2020. All rights reserved.