public interface FastqReader
Modifier and Type | Method and Description |
---|---|
void |
parse(Readable readable,
ParseListener listener)
Parse the specified readable.
|
Iterable<Fastq> |
read(File file)
Read zero or more FASTQ formatted sequences from the specified file.
|
Iterable<Fastq> |
read(InputStream inputStream)
Read zero or more FASTQ formatted sequences from the specified input stream.
|
Iterable<Fastq> |
read(URL url)
Read zero or more FASTQ formatted sequences from the specified url.
|
void |
stream(Readable readable,
StreamListener listener)
Stream the specified readable.
|
void parse(Readable readable, ParseListener listener) throws IOException
readable
- readable, must not be nulllistener
- low-level event based parser callback, must not be nullIOException
- if an I/O error occursvoid stream(Readable readable, StreamListener listener) throws IOException
readable
- readable, must not be nulllistener
- event based reader callback, must not be nullIOException
- if an I/O error occursIterable<Fastq> read(File file) throws IOException
file
- file to read from, must not be nullIOException
- if an I/O error occursIterable<Fastq> read(URL url) throws IOException
url
- URL to read from, must not be nullIOException
- if an I/O error occursIterable<Fastq> read(InputStream inputStream) throws IOException
inputStream
- input stream to read from, must not be nullIOException
- if an I/O error occursCopyright © 2000–2016 BioJava. All rights reserved.