[Biojava-l] Biocorba Demo and Iterator reset ?

Arnaud Kerhornou axk@sanger.ac.uk
Mon, 15 Jan 2001 16:52:42 +0000


First just to let you know I ran the Biocorba demo with the new io
proposal. With some modifications within the server code, it works fine.

// SequenceFactory sFact = new SimpleSequenceFactory();
    SequenceBuilderFactory sfact = new
FastaDescriptionLineParser.Factory (SimpleSequenceBuilder.FACTORY);

// ...

// SequenceIterator seqI = new StreamReader(seqDBI, sFormat, rParser,
    StreamReader seqI = new StreamReader (seqDBI, sFormat, rParser,

And I'd like to know if it's possible to reset an Iterator Object to
start again an iteration from the beginning ?

Arnaud Kerhornou

The Sanger Centre
The Pathogen Sequencing Unit
Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SA, UK
Work: +44 (0) 1223 494955
Fax:  +44 (0) 1223 494919