Interface ParseListener
public interface ParseListener
Low-level event based parser callback.
- Since:
- 3.0.3
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendQuality(String quality) Notify this listener of a quality line.voidappendSequence(String sequence) Notify this parse listener of an additional sequence line.voidcomplete()Notify this listener the FASTQ formatted sequence is complete.voiddescription(String description) Notify this parse listener of a description line.voidNotify this listener of a quality line.voidrepeatDescription(String repeatDescription) Notify this parse listener of a repeat description line.voidNotify this parse listener of a sequence line.
-
Method Details
-
description
Notify this parse listener of a description line.- Parameters:
description- description line- Throws:
IOException- if an I/O error occurs
-
sequence
Notify this parse listener of a sequence line.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.- Parameters:
sequence- sequence line- Throws:
IOException- if an I/O error occurs
-
appendSequence
Notify this parse listener of an additional sequence line.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.
- Parameters:
sequence- additional sequence line- Throws:
IOException- if an I/O error occurs
-
repeatDescription
Notify this parse listener of a repeat description line.- Parameters:
repeatDescription- repeat description line- Throws:
IOException- if an I/O error occurs
-
quality
Notify this listener of a quality line.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.- Parameters:
quality- quality line- Throws:
IOException- if an I/O error occurs
-
appendQuality
Notify this listener of a quality line.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.
- Parameters:
quality- additional quality line- Throws:
IOException- if an I/O error occurs
-
complete
Notify this listener the FASTQ formatted sequence is complete.- Throws:
IOException- if an I/O error occurs
-