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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
parse(InputStream inputStream, BlockingQueue<T> queue)
Parse an input stream, storing the results in the passed queue (which can be used by a consumer)
-
-
-
Method Detail
-
parse
void parse(InputStream inputStream, BlockingQueue<T> queue) throws IOException
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
-
-