org.biojavax.bio.taxapublic 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
TaxonParserparse in interface TaxonParsertaxonFactory - the TaxonFactory used to instantiate taxa instancestaxonString - the String to parseChangeVetoExceptionCircularReferenceExceptionpublic String serialize(Taxon taxon)
TaxonParserserialize in interface TaxonParsertaxon - the Taxon to serializepublic String serializeSource(Taxon taxon)
public String serializeXRef(Taxon taxon)
Copyright © 2020 BioJava. All rights reserved.