Class SwissProtParser
java.lang.Object
ubic.gemma.core.loader.util.parser.RecordParser<Object>
ubic.gemma.core.loader.genome.gene.SwissProtParser
This does a very minimal parse of Swissprot records, just to get mRNAs associated with a single protein.
- Author:
- pavlidis
-
Field Summary
Fields inherited from class ubic.gemma.core.loader.util.parser.RecordParser
log
Fields inherited from interface ubic.gemma.core.loader.util.parser.Parser
PARSE_ALERT_FREQUENCY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Add an object to the results collection.parseOneRecord
(String record) Handle the parsing of a single record from the input.Methods inherited from class ubic.gemma.core.loader.util.parser.RecordParser
parse, parse, parse, setRecordSeparator
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
-
SwissProtParser
public SwissProtParser()
-
-
Method Details
-
getResults
- Specified by:
getResults
in interfaceParser<Object>
- Specified by:
getResults
in classRecordParser<Object>
- Returns:
- the results of the parse.
-
parseOneRecord
Description copied from class:RecordParser
Handle the parsing of a single record from the input.- Specified by:
parseOneRecord
in classRecordParser<Object>
- Parameters:
record
- record- Returns:
- parsed object
-
addResult
Description copied from class:RecordParser
Add an object to the results collection.- Specified by:
addResult
in classRecordParser<Object>
- Parameters:
obj
- object
-