Package org.dishevelled.bio.feature.gff3
Class Gff3Reader
- java.lang.Object
-
- org.dishevelled.bio.feature.gff3.Gff3Reader
-
public final class Gff3Reader extends Object
GFF3 format reader.- Author:
- Michael Heuer
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Iterable<Gff3Record>read(Readable readable)Read zero or more GFF3 records from the specified readable.static voidstream(Readable readable, Gff3Listener listener)Stream zero or more GFF3 records from the specified readable.
-
-
-
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 nulllistener- event based listener callback, must not be null- Throws:
IOException- if an I/O error occurs
-
-