Class Gff3Reader


  • public final class Gff3Reader
    extends Object
    GFF3 format reader.
    Author:
    Michael Heuer
    • Method Detail

      • read

        public static Iterable<Gff3Record> read​(Readable readable)
                                         throws IOException
        Read zero or more GFF3 records from the specified readable.
        Parameters:
        readable - to read from, must not be null
        Returns:
        zero or more GFF3 records read from the specified readable
        Throws:
        IOException - if an I/O error occurs
      • stream

        public static void stream​(Readable readable,
                                  Gff3Listener listener)
                           throws IOException
        Stream zero or more GFF3 records from the specified readable.
        Parameters:
        readable - readable to stream from, must not be null
        listener - event based listener callback, must not be null
        Throws:
        IOException - if an I/O error occurs