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 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 Details

    • 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 stream
      queue - queue
      Throws:
      IOException - IO problems