Class EventCMLReader

    • Constructor Detail

      • EventCMLReader

        public EventCMLReader​(Reader input,
                              IReaderListener listener,
                              IChemObjectBuilder builder)
        Define this CMLReader to take the input from a java.io.Reader class. Possible readers are (among others) StringReader and FileReader. The given ReaderListener catches the events thrown to signal that a a new molecule is read.
        Parameters:
        input - Reader type input
        listener - ReaderListener that listens to newMolecule events.