AutomatonProvider (Lucene 10.5.1 core API)
Description: declaration: package: org.apache.lucene.util.automaton, interface: AutomatonProvider

Package org.apache.lucene.util.automaton

# Interface AutomatonProvider

public interface AutomatonProvider
Automaton provider for `RegExp.` `RegExp.toAutomaton(AutomatonProvider)`

WARNING: This API is experimental and might change in incompatible ways in the next release.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Automaton`
  `getAutomaton(String name)`
  Returns automaton of the given name.

- ## Method Details

  - ### getAutomaton

    Automaton getAutomaton(String name) throws IOException
    Returns automaton of the given name.
    Parameters:
      `name` - automaton name
    Returns:
      automaton
    Throws:
      `IOException` - if errors occur