|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.utils.regex.Pattern
public class Pattern
A class analogous to java.util.regex.Pattern but for SymbolLists.
| Method Summary | |
|---|---|
FiniteAlphabet |
getAlphabet()
|
String |
getName()
return the String label associated with this pattern. |
Matcher |
matcher(SymbolList sl)
Creates a matcher that will match the given input against this pattern. |
String |
patternAsString()
returns the Pattern to be matched as a String. |
String |
patternExpanded()
returns the actual String used to construct the regex with all ambiguities expanded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getName()
public Matcher matcher(SymbolList sl)
sl - SymbolList against which match is to be made.
public String patternAsString()
public String patternExpanded()
public FiniteAlphabet getAlphabet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||