|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.program.fastq.SangerFastqWriter
public final class SangerFastqWriter
Writer for FastqVariant.FASTQ_SANGER
formatted sequences.
Constructor Summary | |
---|---|
SangerFastqWriter()
|
Method Summary | ||
---|---|---|
|
append(T appendable,
Fastq... fastq)
Append the specified FASTQ formatted sequences to the specified appendable. |
|
|
append(T appendable,
java.lang.Iterable<Fastq> fastq)
Append the specified FASTQ formatted sequences to the specified appendable. |
|
protected void |
validate(Fastq fastq)
Validate the specified FASTQ formatted sequence for writing. |
|
void |
write(java.io.File file,
Fastq... fastq)
Write the specified FASTQ formatted sequences to the specified file. |
|
void |
write(java.io.File file,
java.lang.Iterable<Fastq> fastq)
Write the specified FASTQ formatted sequences to the specified file. |
|
void |
write(java.io.OutputStream outputStream,
Fastq... fastq)
Write the specified FASTQ formatted sequences to the specified output stream. |
|
void |
write(java.io.OutputStream outputStream,
java.lang.Iterable<Fastq> fastq)
Write the specified FASTQ formatted sequences to the specified output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SangerFastqWriter()
Method Detail |
---|
protected void validate(Fastq fastq) throws java.io.IOException
fastq
- FASTQ formatted sequence to validate, will not be null
java.io.IOException
- if the specified FASTQ formatted sequence is not valid for writingpublic final <T extends java.lang.Appendable> T append(T appendable, Fastq... fastq) throws java.io.IOException
append
in interface FastqWriter
T
- extends Appendableappendable
- 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
java.io.IOException
- if an IO error occurspublic final <T extends java.lang.Appendable> T append(T appendable, java.lang.Iterable<Fastq> fastq) throws java.io.IOException
append
in interface FastqWriter
T
- extends Appendableappendable
- 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
java.io.IOException
- if an IO error occurspublic final void write(java.io.File file, Fastq... fastq) throws java.io.IOException
write
in interface FastqWriter
file
- file to write to, must not be nullfastq
- variable number of FASTQ formatted sequences to write, must not be null
java.io.IOException
- if an IO error occurspublic final void write(java.io.File file, java.lang.Iterable<Fastq> fastq) throws java.io.IOException
write
in interface FastqWriter
file
- file to write to, must not be nullfastq
- zero or more FASTQ formatted sequences to write, must not be null
java.io.IOException
- if an IO error occurspublic final void write(java.io.OutputStream outputStream, Fastq... fastq) throws java.io.IOException
write
in interface FastqWriter
outputStream
- output stream to write to, must not be nullfastq
- variable number of FASTQ formatted sequences to write, must not be null
java.io.IOException
- if an IO error occurspublic final void write(java.io.OutputStream outputStream, java.lang.Iterable<Fastq> fastq) throws java.io.IOException
write
in interface FastqWriter
outputStream
- output stream to write to, must not be nullfastq
- zero or more FASTQ formatted sequences to write, must not be null
java.io.IOException
- if an IO error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |