public class Sunday extends Object implements StringSearchAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
Sunday.Factory |
| Constructor and Description |
|---|
Sunday(String pattern,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
StringFinder |
createFinder(net.amygdalum.util.io.ByteProvider bytes,
StringFinderOption... options)
creates a StringFinder instance from the pattern (given by the current instance) and the given document.
|
int |
getPatternLength() |
String |
toString() |
public int getPatternLength()
getPatternLength in interface StringSearchAlgorithmpublic StringFinder createFinder(net.amygdalum.util.io.ByteProvider bytes, StringFinderOption... options)
StringSearchAlgorithmcreateFinder in interface StringSearchAlgorithmbytes - the given document wrapped into a ByteProvideroptions - the configuration options for the string finderCopyright © 2020. All rights reserved.