[Biojava-l] Missing Symbol.GetToken()

Schreiber, Mark mark.schreiber at agresearch.co.nz
Tue Feb 25 12:11:02 EST 2003


Hi,

Tokenization is now handeled by the SymbolTokenizers. You can get one
for any Alphabet by calling getTokenization("token");
The tokenizer has methods called parseToken which returns a Symbol and
tokenizeSymbol to get back the String representation of the Symbol.

- Mark


> -----Original Message-----
> From: Philippe Valadon [mailto:PValadon at skcc.org] 
> Sent: Wednesday, 19 February 2003 7:12 a.m.
> To: biojava-l at biojava.org
> Subject: [Biojava-l] Missing Symbol.GetToken()
> 
> 
> Hi,
> There is a reference to a  Symbol.getToken() method in the 
> Roulet tutorial, but the method does not exist anymore in 
> Symbol. The method is also mentionned in the javadoc: "There 
> are three Symbol interfaces. Symbol is the most generic. It 
> has the methods getToken and getName so that the Symbol can 
> be textualy represented" found in interface Symbol.
> 
> There are two messages in the list about this problem but I 
> coudn't find any reply to them. The API should be corrected. 
> Can someone tell me what is replacing the getToken method in 
> the current API?
> 
> Thanks a lot,
> Philippe
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at biojava.org 
> http://biojava.org/mailman/listinfo/biojava-l
> 
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================



More information about the Biojava-l mailing list