public final class BedReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static Iterable<BedRecord> |
read(Readable readable)
Read zero or more BED records from the specified readable.
|
static void |
stream(Readable readable,
BedListener listener)
Stream zero or more BED records from the specified readable.
|
public static Iterable<BedRecord> read(Readable readable) throws IOException
readable - to read from, must not be nullIOException - if an I/O error occurspublic static void stream(Readable readable, BedListener listener) throws IOException
readable - readable to stream from, must not be nulllistener - event based listener callback, must not be nullIOException - if an I/O error occursCopyright (c) 2013-2022 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).