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 BasicLineMapParser
COMMENT_MARK, logFields inherited from interface LineParser
MIN_PARSED_LINES_FOR_UPDATE, PARSE_ALERT_TIME_FREQUENCY_MSFields inherited from interface Parser
PARSE_ALERT_FREQUENCY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Kvoidparse(InputStream is) Parse aInputStream.protected final voidMethods inherited from class BasicLineMapParser
containsKey, get, getKeySet, getResults, parse, parse, parseOneLineMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
put
-