|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.biojava.utils.Unchangeable
|
+--org.biojava.bio.seq.io.WordTokenization
|
+--org.biojava.bio.seq.io.DoubleTokenization
| Nested Class Summary |
| Nested classes inherited from class org.biojava.bio.seq.io.SymbolTokenization |
SymbolTokenization.TokenType |
| Nested classes inherited from class org.biojava.bio.Annotatable |
Annotatable.AnnotationForwarder |
| Field Summary |
| Fields inherited from interface org.biojava.bio.seq.io.SymbolTokenization |
CHARACTER, FIXEDWIDTH, SEPARATED, UNKNOWN |
| Fields inherited from interface org.biojava.bio.Annotatable |
ANNOTATION |
| Constructor Summary | |
DoubleTokenization()
|
|
| Method Summary | |
Symbol |
parseToken(java.lang.String seq)
Returns the symbol for a single token. |
java.lang.String |
tokenizeSymbol(Symbol sym)
Return a token representing a single symbol. |
| Methods inherited from class org.biojava.bio.seq.io.WordTokenization |
getAlphabet, getAnnotation, getTokenType, parseStream, parseString, splitString, tokenizeSymbolList |
| Methods inherited from class org.biojava.utils.Unchangeable |
addChangeListener, addChangeListener, addForwarder, getForwarders, getListeners, isUnchanging, removeChangeListener, removeChangeListener, removeForwarder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.biojava.utils.Changeable |
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
| Constructor Detail |
public DoubleTokenization()
| Method Detail |
public Symbol parseToken(java.lang.String seq)
throws IllegalSymbolException
SymbolTokenizationThe Symbol will be a member of the alphabet. If the token is not recognized as mapping to a symbol, an exception will be thrown.
seq - the token to retrieve a Symbol for
IllegalSymbolException - if there is no Symbol for the token
public java.lang.String tokenizeSymbol(Symbol sym)
throws IllegalSymbolException
SymbolTokenization
IllegalSymbolException - if the symbol isn't recognized.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||