Package ubic.gemma.core.loader.util
Interface QueuingParser<T>
- All Known Implementing Classes:
NcbiGene2AccessionParser,NCBIGene2GOAssociationParser,NcbiGeneInfoParser
public interface QueuingParser<T>
Defines a class that produces object that can be consumed by other classes.
- Author:
- pavlidis
-
Method Summary
Modifier and TypeMethodDescriptionvoidparse(InputStream inputStream, BlockingQueue<T> queue) Parse an input stream, storing the results in the passed queue (which can be used by a consumer)
-
Method Details
-
parse
Parse an input stream, storing the results in the passed queue (which can be used by a consumer)- Parameters:
inputStream- input streamqueue- queue- Throws:
IOException- IO problems
-