Interface | Description |
---|---|
DfaAmbiguityResolver<MATCHRESULT> |
Implementations of this interface are used to resolve ambiguities in
DfaBuilder . |
DfaTransitionConsumer<MATCHRESULT> |
A functional interface that can accept transitions
|
Matchable |
Base interface for the types of patterns that can be used with
DfaBuilder to specify a set of strings to match. |
ReplacementSelector<MATCHRESULT> |
For search and replace operations, a functional interface that is called to select replacement text for
matches, based on the MATCHRESULT.
|
SafeAppendable |
A refinement of the
Appendable interface that doesn't throw exceptions |
StringMatchIterator<MATCHRESULT> |
An
Iterator that provides access to the pattern matches in a string |
StringReplacement |
Functional interface that provides the replacement values for strings in a search+replace operation
of patterns found in a string.
|
Class | Description |
---|---|
CharRange |
A CharRange is a
Pattern that matches a single character from some set or
range of characters. |
CharRange.Builder |
Instances of this class are used to incrementally build
CharRange s |
DfaAuxiliaryInformation<MATCHRESULT> |
Utility class to calculate various auxiliary information about DFAs.
|
DfaBuilder<MATCHRESULT extends java.io.Serializable> |
Builds deterministic finite automata (google phrase) or DFAs that find patterns in strings
|
DfaState<MATCHRESULT> |
A state in a char-matching deterministic finite automaton (that's the google phrase) or DFA
|
Nfa<MATCHRESULT> |
Simple non-deterministic finite automaton (NFA) representation
|
NfaTransition |
A transition in a
Nfa |
Pattern |
A Pattern represents a set of strings.
|
SearchAndReplaceBuilder |
Builds search and replace functions that finds patterns in strings and replaces them
|
StringMatcher |
This class implements fast matching in a string using DFAs
|
StringReplacements |
A utility class containing common StringReplacements that can be used with
SearchAndReplaceBuilder |
StringSearcher<MATCHRESULT> |
Performs fast searches of a whole string for patterns.
|
Exception | Description |
---|---|
DfaAmbiguityException |
Exception thrown by default when patterns for multiple results match the same string in a DFA,
and no way has been provided to combine result
|