Package org.biojava.bio.taxa
Class EbiFormat
- java.lang.Object
-
- org.biojava.bio.taxa.EbiFormat
-
- All Implemented Interfaces:
TaxonParser
public class EbiFormat extends Object implements TaxonParser
Deprecated.replaced by classes inorg.biojavax.bio.taxaEncapsulate the 'EBI' species format used in Embl, Genbank and Swissprot files. The Taxon objects created by this process have the following annotations:key=PROPERTY_NCBI_TAXON, value=String representation of the NCBI taxon id key=PROPERTY_TAXON_NAMES, value=Map from name-class to name (see ncbi names.dmp)
- Author:
- Matthew Pocock, Len Trigg
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_NCBI_TAXONDeprecated.static StringPROPERTY_TAXON_NAMESDeprecated.
-
Constructor Summary
Constructors Constructor Description EbiFormat()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EbiFormatgetInstance()Deprecated.Taxonparse(TaxonFactory taxonFactory, String taxonString)Deprecated.Convert a stringified Taxon into a Taxon instance.Stringserialize(Taxon taxon)Deprecated.Convert a Taxon into a stringified representation.StringserializeSource(Taxon taxon)Deprecated.StringserializeXRef(Taxon taxon)Deprecated.
-
-
-
Field Detail
-
PROPERTY_NCBI_TAXON
public static final String PROPERTY_NCBI_TAXON
Deprecated.
-
PROPERTY_TAXON_NAMES
public static final String PROPERTY_TAXON_NAMES
Deprecated.
-
-
Constructor Detail
-
EbiFormat
public EbiFormat()
Deprecated.
-
-
Method Detail
-
getInstance
public static final EbiFormat getInstance()
Deprecated.
-
parse
public Taxon parse(TaxonFactory taxonFactory, String taxonString) throws ChangeVetoException, CircularReferenceException
Deprecated.Description copied from interface:TaxonParserConvert a stringified Taxon into a Taxon instance.- Specified by:
parsein interfaceTaxonParser- Parameters:
taxonFactory- the TaxonFactory used to instantiate taxa instancestaxonString- the String to parse- Returns:
- a Taxon instance created by the TaxonFactory from the taxonString
- Throws:
ChangeVetoExceptionCircularReferenceException
-
serialize
public String serialize(Taxon taxon)
Deprecated.Description copied from interface:TaxonParserConvert a Taxon into a stringified representation.- Specified by:
serializein interfaceTaxonParser- Parameters:
taxon- the Taxon to serialize- Returns:
- the stringified version of Taxon
-
serializeSource
public String serializeSource(Taxon taxon)
Deprecated.
-
serializeXRef
public String serializeXRef(Taxon taxon)
Deprecated.
-
-