Interface FastqWriter
-
- All Known Implementing Classes:
IlluminaFastqWriter,SangerFastqWriter,SolexaFastqWriter
public interface FastqWriterWriter for FASTQ formatted sequences.- Since:
- 3.0.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends java.lang.Appendable>
Tappend(T appendable, java.lang.Iterable<Fastq> fastq)Append the specified FASTQ formatted sequences to the specified appendable.<T extends java.lang.Appendable>
Tappend(T appendable, Fastq... fastq)Append the specified FASTQ formatted sequences to the specified appendable.voidwrite(java.io.File file, java.lang.Iterable<Fastq> fastq)Write the specified FASTQ formatted sequences to the specified file.voidwrite(java.io.File file, Fastq... fastq)Write the specified FASTQ formatted sequences to the specified file.voidwrite(java.io.OutputStream outputStream, java.lang.Iterable<Fastq> fastq)Write the specified FASTQ formatted sequences to the specified output stream.voidwrite(java.io.OutputStream outputStream, Fastq... fastq)Write the specified FASTQ formatted sequences to the specified output stream.
-
-
-
Method Detail
-
append
<T extends java.lang.Appendable> T append(T appendable, Fastq... fastq) throws java.io.IOExceptionAppend the specified FASTQ formatted sequences to the specified appendable.- Type Parameters:
T- extends Appendable- Parameters:
appendable- appendable to append the specified FASTQ formatted sequences to, must not be nullfastq- variable number of FASTQ formatted sequences to append, must not be null- Returns:
- the specified appendable with the specified FASTQ formatted sequences appended
- Throws:
java.io.IOException- if an I/O error occurs
-
append
<T extends java.lang.Appendable> T append(T appendable, java.lang.Iterable<Fastq> fastq) throws java.io.IOExceptionAppend the specified FASTQ formatted sequences to the specified appendable.- Type Parameters:
T- extends Appendable- Parameters:
appendable- appendable to append the specified FASTQ formatted sequences to, must not be nullfastq- zero or more FASTQ formatted sequences to append, must not be null- Returns:
- the specified appendable with the specified FASTQ formatted sequences appended
- Throws:
java.io.IOException- if an I/O error occurs
-
write
void write(java.io.File file, Fastq... fastq) throws java.io.IOExceptionWrite the specified FASTQ formatted sequences to the specified file.- Parameters:
file- file to write to, must not be nullfastq- variable number of FASTQ formatted sequences to write, must not be null- Throws:
java.io.IOException- if an I/O error occurs
-
write
void write(java.io.File file, java.lang.Iterable<Fastq> fastq) throws java.io.IOExceptionWrite the specified FASTQ formatted sequences to the specified file.- Parameters:
file- file to write to, must not be nullfastq- zero or more FASTQ formatted sequences to write, must not be null- Throws:
java.io.IOException- if an I/O error occurs
-
write
void write(java.io.OutputStream outputStream, Fastq... fastq) throws java.io.IOExceptionWrite the specified FASTQ formatted sequences to the specified output stream.- Parameters:
outputStream- output stream to write to, must not be nullfastq- variable number of FASTQ formatted sequences to write, must not be null- Throws:
java.io.IOException- if an I/O error occurs
-
write
void write(java.io.OutputStream outputStream, java.lang.Iterable<Fastq> fastq) throws java.io.IOExceptionWrite the specified FASTQ formatted sequences to the specified output stream.- Parameters:
outputStream- output stream to write to, must not be nullfastq- zero or more FASTQ formatted sequences to write, must not be null- Throws:
java.io.IOException- if an I/O error occurs
-
-