Class ParserBasedPhylogenyFactory

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      Phylogeny[] create​(java.lang.Object source, java.lang.Object parser)
      This must create a Phylogeny from source (e.g.
      Phylogeny[] create​(java.lang.Object source, java.lang.Object parser, java.lang.String schema_location)  
      static PhylogenyFactory getInstance()  
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
      • create

        public Phylogeny[] create​(java.lang.Object source,
                                  java.lang.Object parser)
                           throws java.io.IOException
        Description copied from interface: PhylogenyFactory
        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).
        Specified by:
        create in interface PhylogenyFactory
        Parameters:
        source - a source to create a Phylogeny from
        parser - a means to create a Phylogeny
        Returns:
        a Phylogeny[] based on argument source
        Throws:
        java.io.IOException
      • create

        public Phylogeny[] create​(java.lang.Object source,
                                  java.lang.Object parser,
                                  java.lang.String schema_location)
                           throws java.io.IOException
        Throws:
        java.io.IOException