public class SimpleNCBITaxonomyLoader extends Object implements NCBITaxonomyLoader
| Constructor and Description |
|---|
SimpleNCBITaxonomyLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected NCBITaxon |
findTaxon(Object[] theKeys) |
NCBITaxon |
readName(BufferedReader names)
Reads the next entry from the names.dmp file and returns the corresponding
NCBITaxon object with the name added in already.
|
NCBITaxon |
readNode(BufferedReader nodes)
Reads the next entry from the nodes.dmp file and returns the corresponding
NCBITaxon object.
|
public SimpleNCBITaxonomyLoader()
public NCBITaxon readNode(BufferedReader nodes) throws IOException, ParseException
readNode in interface NCBITaxonomyLoadernodes - something that reads the nodes.dmp fileIOExceptionParseExceptionpublic NCBITaxon readName(BufferedReader names) throws IOException, ParseException
for (Iterator i = taxon.getNameClasses().iterator(); i.hasNext(); ) {
taxon.getNames((String)i.next()).clear();
}
readName in interface NCBITaxonomyLoadernames - something that reads the names.dmp fileIOExceptionParseExceptionCopyright © 2020 BioJava. All rights reserved.