|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NCBITaxonomyLoader
Implementors are able to load taxonomy files and generate sets of NCBITaxon objects that represent them. Taxon objects should be generated using RichObjectFactory.
Method Summary | |
---|---|
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. |
Method Detail |
---|
NCBITaxon readNode(BufferedReader nodes) throws IOException, ParseException
nodes
- something that reads the nodes.dmp file
IOException
ParseException
NCBITaxon readName(BufferedReader names) throws IOException, ParseException
for (Iterator i = taxon.getNameClasses().iterator(); i.hasNext(); ) {
taxon.getNames((String)i.next()).clear();
}
names
- something that reads the names.dmp file
IOException
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |