Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::Saf::_Scanner::feed (   self,
  handle,
  consumer 
)

Feed a set of data into the scanner.

Arguments:
o handle - A handle with the information to parse.
o consumer - The consumer that should be informed of events.

Definition at line 97 of file __init__.py.

00097                                     :
        """Feed a set of data into the scanner.

        Arguments:
        o handle - A handle with the information to parse.
        o consumer - The consumer that should be informed of events.
        """
        consumer.set_interest_tags( self.interest_tags )
        self._parser.setContentHandler( consumer )
#        self._parser.setErrorHandler(handle.ErrorHandler())

        self._parser.parseFile(handle)


Generated by  Doxygen 1.6.0   Back to index