Class GenbankXmlFormat

    • Constructor Detail

      • GenbankXmlFormat

        public GenbankXmlFormat()
        Deprecated.
    • Method Detail

      • readSequence

        public boolean readSequence​(java.io.BufferedReader reader,
                                    SymbolTokenization symParser,
                                    SeqIOListener listener)
                             throws IllegalSymbolException,
                                    java.io.IOException,
                                    ParseException
        Deprecated.
        Description copied from class: GenbankFormat
        Reads a sequence from the specified reader using the Symbol parser and Sequence Factory provided. The sequence read in must be in Genbank format.
        Specified by:
        readSequence in interface SequenceFormat
        Overrides:
        readSequence in class GenbankFormat
        Parameters:
        reader - The stream of data to parse.
        symParser - A SymbolParser defining a mapping from character data to Symbols.
        listener - A listener to notify when data is extracted from the stream.
        Returns:
        boolean True if there is another sequence in the file; false otherwise
        Throws:
        IllegalSymbolException - if it is not possible to translate character data from the stream into valid BioJava symbols.
        java.io.IOException - if an error occurs while reading from the stream.
        ParseException