public final class FastaSequenceWriterWrapper extends Object implements SingleSequenceWriter
| Constructor and Description |
|---|
FastaSequenceWriterWrapper(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this writer
|
void |
flush()
Writes all buffers to the underlying stream
|
void |
write(SingleRead read)
Writes corresponding subtype of
SequenceRead |
public FastaSequenceWriterWrapper(String fileName) throws FileNotFoundException
FileNotFoundExceptionpublic void write(SingleRead read)
SequenceWriterSequenceReadwrite in interface SequenceWriter<SingleRead>read - readpublic void flush()
SequenceWriterflush in interface SequenceWriter<SingleRead>public void close()
SequenceWriterclose in interface SequenceWriter<SingleRead>close in interface AutoCloseableCopyright © 2018. All rights reserved.