Package org.apache.lucene.util.automaton
Interface AutomatonProvider
-
public interface AutomatonProvider
Automaton provider forRegExp.
RegExp.toAutomaton(AutomatonProvider)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Automaton
getAutomaton(String name)
Returns automaton of the given name.
-
-
-
Method Detail
-
getAutomaton
Automaton getAutomaton(String name) throws IOException
Returns automaton of the given name.- Parameters:
name
- automaton name- Returns:
- automaton
- Throws:
IOException
- if errors occur
-
-