Class TaxonParser
java.lang.Object
ubic.gemma.core.loader.util.parser.BasicLineMapParser<Integer,Taxon>
ubic.gemma.core.loader.genome.taxon.TaxonParser
- All Implemented Interfaces:
LineParser<Taxon>
,Parser<Taxon>
Parse the "names.dmp" file from NCBI, ftp://ftp.ncbi.nih.gov/pub/taxonomy/.
- Author:
- pavlidis
-
Field Summary
Fields inherited from class ubic.gemma.core.loader.util.parser.BasicLineMapParser
COMMENT_MARK, log
Fields inherited from interface ubic.gemma.core.loader.util.parser.LineParser
MIN_PARSED_LINES_FOR_UPDATE, PARSE_ALERT_TIME_FREQUENCY_MS
Fields inherited from interface ubic.gemma.core.loader.util.parser.Parser
PARSE_ALERT_FREQUENCY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(Integer key) protected Integer
parseOneLine
(String line) Handle the parsing of a single line from the input.protected void
Methods inherited from class ubic.gemma.core.loader.util.parser.BasicLineMapParser
parse, parse, parse
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ubic.gemma.core.loader.util.parser.Parser
getUniqueResult
-
Constructor Details
-
TaxonParser
public TaxonParser()
-
-
Method Details
-
containsKey
- Specified by:
containsKey
in classBasicLineMapParser<Integer,
Taxon>
-
get
- Specified by:
get
in classBasicLineMapParser<Integer,
Taxon>
-
getKeySet
- Specified by:
getKeySet
in classBasicLineMapParser<Integer,
Taxon>
-
getResults
- Specified by:
getResults
in interfaceParser<Taxon>
- Specified by:
getResults
in classBasicLineMapParser<Integer,
Taxon> - Returns:
- the results of the parse.
-
parseOneLine
Description copied from interface:LineParser
Handle the parsing of a single line from the input.- Specified by:
parseOneLine
in interfaceLineParser<Taxon>
- Specified by:
parseOneLine
in classBasicLineMapParser<Integer,
Taxon> - Parameters:
line
- line to parse- Returns:
- parsed object
-
getKey
- Specified by:
getKey
in classBasicLineMapParser<Integer,
Taxon>
-
put
- Specified by:
put
in classBasicLineMapParser<Integer,
Taxon>
-