Class LineMapParser<K,T>
java.lang.Object
ubic.gemma.core.loader.util.parser.BasicLineMapParser<K,T>
ubic.gemma.core.loader.util.parser.LineMapParser<K,T>
- All Implemented Interfaces:
LineParser<T>,Parser<T>
- Direct Known Subclasses:
BiomartEnsembleNcbiParser
The difference between this class and BasicLineMapParser is more flexibility in how keys are provided. The
parseOneLine method that is implemented must handle adding the data to the Map.
- Author:
- pavlidis
-
Field Summary
Fields inherited from class ubic.gemma.core.loader.util.parser.BasicLineMapParser
COMMENT_MARK, logFields inherited from interface ubic.gemma.core.loader.util.parser.LineParser
MIN_PARSED_LINES_FOR_UPDATE, PARSE_ALERT_TIME_FREQUENCY_MSFields inherited from interface ubic.gemma.core.loader.util.parser.Parser
PARSE_ALERT_FREQUENCY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Kvoidparse(InputStream is) Parse aInputStream.protected final voidMethods inherited from class ubic.gemma.core.loader.util.parser.BasicLineMapParser
containsKey, get, getKeySet, getResults, parse, parse, parseOneLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.core.loader.util.parser.Parser
getUniqueResult
-
Constructor Details
-
LineMapParser
public LineMapParser()
-
-
Method Details
-
parse
Description copied from interface:ParserParse aInputStream.- Specified by:
parsein interfaceParser<K>- Overrides:
parsein classBasicLineMapParser<K,T> - Parameters:
is- input stream- Throws:
IOException- if there is a problem while manipulating the file
-
getKey
- Specified by:
getKeyin classBasicLineMapParser<K,T>
-
put
- Specified by:
putin classBasicLineMapParser<K,T>
-