Package org.forester.phylogeny.factories
Interface PhylogenyFactory
-
- All Known Implementing Classes:
ParserBasedPhylogenyFactory
public interface PhylogenyFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Phylogeny[]
create(java.lang.Object source, java.lang.Object creator)
This must create a Phylogeny from source (e.g.
-
-
-
Method Detail
-
create
Phylogeny[] create(java.lang.Object source, java.lang.Object creator) throws java.io.IOException
This must create a Phylogeny from source (e.g. an XML file, an alignment, pairwise distances) by using creator (e.g. an XML file parser, an algorithm implementation).- Parameters:
source
- a source to create a Phylogeny fromcreator
- a means to create a Phylogeny- Returns:
- a Phylogeny[] based on argument source
- Throws:
java.io.IOException
-
-