Package org.biojava.utils.automata
Class PatternBlitz
- java.lang.Object
-
- org.biojava.utils.automata.PatternBlitz
-
public class PatternBlitz extends Object
-
-
Constructor Summary
Constructors Constructor Description PatternBlitz(FiniteAlphabet alfa, org.biojava.utils.automata.StateMachineToolkit factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPattern(String pattern)
add the specified regex to the patterns used for searching.void
lock()
void
search(SymbolList sl)
void
setListener(PatternListener listener)
-
-
-
Constructor Detail
-
PatternBlitz
public PatternBlitz(FiniteAlphabet alfa, org.biojava.utils.automata.StateMachineToolkit factory)
-
-
Method Detail
-
lock
public void lock()
-
setListener
public void setListener(PatternListener listener)
-
addPattern
public void addPattern(String pattern)
add the specified regex to the patterns used for searching.
-
search
public void search(SymbolList sl) throws IllegalAlphabetException
- Throws:
IllegalAlphabetException
-
-