[Biojava-l] Implementing a Feature
Richard HOLLAND
hollandr at gis.a-star.edu.sg
Tue Jun 28 15:03:28 EDT 2005
The best thing to do is write your own class which extends SimpleFeature, or ignores SimpleFeature and just implements the Feature interface with all-new methods written from scratch, plus your new ones.
If the extra methods are pretty generic, you could create a new interface which extends Feature and add them there, then make your new class implement the new interface.
Why not list out the methods/fields you'd like to add - then we can all offer suggestions as to the most appropriate places to make the changes.
The BioJava in Anger book has a few links to how the API works - it's linked from biojava.org under the documentation section.
cheer,
Richard
-----Original Message-----
From: biojava-l-bounces at portal.open-bio.org on behalf of Michael C Gilson
Sent: Wed 6/29/2005 2:51 AM
To: biojava-l at biojava.org
Cc:
Subject: [Biojava-l] Implementing a Feature
Hello, all. I am new to BioJava but finding it extremely useful.
I'd like to add a few extra fields or methods to the SimpleFeature
class and I'm wondering the best way to go about it? I have read
through BioJava in Anger and also am wondering if there are any other
documents out there that describe how to work with the API (beyond
just the API javadocs).
Thanks in advance,
Michael C Gilson
Genome Evolution Lab
University of Wisconsin-Madison
_______________________________________________
Biojava-l mailing list - Biojava-l at biojava.org
http://biojava.org/mailman/listinfo/biojava-l
More information about the Biojava-l
mailing list