public interface ParseListener
Modifier and Type | Method | Description |
---|---|---|
void |
appendQuality(java.lang.String quality) |
Notify this listener of a quality line.
|
void |
appendSequence(java.lang.String sequence) |
Notify this parse listener of an additional sequence line.
|
void |
complete() |
Notify this listener the FASTQ formatted sequence is complete.
|
void |
description(java.lang.String description) |
Notify this parse listener of a description line.
|
void |
quality(java.lang.String quality) |
Notify this listener of a quality line.
|
void |
repeatDescription(java.lang.String repeatDescription) |
Notify this parse listener of a repeat description line.
|
void |
sequence(java.lang.String sequence) |
Notify this parse listener of a sequence line.
|
void description(java.lang.String description) throws java.io.IOException
description
- description linejava.io.IOException
- if an I/O error occursvoid sequence(java.lang.String sequence) throws java.io.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 linejava.io.IOException
- if an I/O error occursvoid appendSequence(java.lang.String sequence) throws java.io.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 linejava.io.IOException
- if an I/O error occursvoid repeatDescription(java.lang.String repeatDescription) throws java.io.IOException
repeatDescription
- repeat description linejava.io.IOException
- if an I/O error occursvoid quality(java.lang.String quality) throws java.io.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 linejava.io.IOException
- if an I/O error occursvoid appendQuality(java.lang.String quality) throws java.io.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 linejava.io.IOException
- if an I/O error occursvoid complete() throws java.io.IOException
java.io.IOException
- if an I/O error occurs