[Biojava-dev] Formats and BuilderFactories

Schreiber, Mark mark.schreiber@agresearch.co.nz
Tue, 22 Oct 2002 10:58:23 +1300


Hi -

Would it be a good idea for SequenceFormat objects to have a method to
return their associated SequenceBuilderFactory object?
At the moment if a SequenceFormat object is passed to a method then you
have to go through some kind of switch statement to determine the
correct Factory.

In some cases (eg FastaFormat) the default SequenceBuilderFactory is OK
but in most cases you need the one that is appropriate for your
sequence.

- Mark


Mark Schreiber PhD
Bioinformatics
AgResearch Invermay
PO Box 50034
Mosgiel
New Zealand
 
PH:   +64 3 489 9175
FAX:  +64 3 489 3739

=======================================================================
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.
=======================================================================