org.biojavax.bio.taxa
public class EbiFormat extends Object implements TaxonParser
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)
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NCBI_TAXON
Deprecated.
|
static String |
PROPERTY_TAXON_NAMES
Deprecated.
|
Constructor and Description |
---|
EbiFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static EbiFormat |
getInstance()
Deprecated.
|
Taxon |
parse(TaxonFactory taxonFactory,
String taxonString)
Deprecated.
Convert a stringified Taxon into a Taxon instance.
|
String |
serialize(Taxon taxon)
Deprecated.
Convert a Taxon into a stringified representation.
|
String |
serializeSource(Taxon taxon)
Deprecated.
|
String |
serializeXRef(Taxon taxon)
Deprecated.
|
public static final String PROPERTY_NCBI_TAXON
public static final String PROPERTY_TAXON_NAMES
public EbiFormat()
public static final EbiFormat getInstance()
public Taxon parse(TaxonFactory taxonFactory, String taxonString) throws ChangeVetoException, CircularReferenceException
TaxonParser
parse
in interface TaxonParser
taxonFactory
- the TaxonFactory used to instantiate taxa instancestaxonString
- the String to parseChangeVetoException
CircularReferenceException
public String serialize(Taxon taxon)
TaxonParser
serialize
in interface TaxonParser
taxon
- the Taxon to serializepublic String serializeSource(Taxon taxon)
public String serializeXRef(Taxon taxon)
Copyright © 2014 BioJava. All rights reserved.