public interface ParseListener
Modifier and Type | Method and Description |
---|---|
void |
appendQuality(String quality)
Notify this listener of a quality line.
|
void |
appendSequence(String sequence)
Notify this parse listener of an additional sequence line.
|
void |
complete()
Notify this listener the FASTQ formatted sequence is complete.
|
void |
description(String description)
Notify this parse listener of a description line.
|
void |
quality(String quality)
Notify this listener of a quality line.
|
void |
repeatDescription(String repeatDescription)
Notify this parse listener of a repeat description line.
|
void |
sequence(String sequence)
Notify this parse listener of a sequence line.
|
void description(String description) throws IOException
description
- description lineIOException
- if an I/O error occursvoid sequence(String sequence) throws IOException
Note that the sequence in FASTQ format may contain end-of-line characters,
so both this method and appendSequence(String)
may be called per FASTQ
formatted sequence.
sequence
- sequence lineIOException
- if an I/O error occursvoid appendSequence(String sequence) throws IOException
Note that the sequence in FASTQ format may contain end-of-line characters, so this method may be called more than once per FASTQ formatted sequence.
sequence
- additional sequence lineIOException
- if an I/O error occursvoid repeatDescription(String repeatDescription) throws IOException
repeatDescription
- repeat description lineIOException
- if an I/O error occursvoid quality(String quality) throws IOException
Note that the quality scores in FASTQ format may contain end-of-line characters,
so both this method and appendQuality(String)
may be called per FASTQ
formatted sequence.
quality
- quality lineIOException
- if an I/O error occursvoid appendQuality(String quality) throws IOException
Note that the quality scores in FASTQ format may contain end-of-line characters, so this method may be called more than once per FASTQ formatted sequence.
quality
- additional quality lineIOException
- if an I/O error occursvoid complete() throws IOException
IOException
- if an I/O error occursCopyright © 2000–2018 BioJava. All rights reserved.