public class RichStreamWriter extends Object
Constructor and Description |
---|
RichStreamWriter(OutputStream os,
RichSequenceFormat format)
Generate a new RichStreamWriter to the stream os and using format.
|
Modifier and Type | Method and Description |
---|---|
void |
writeStream(SequenceIterator ss,
Namespace ns)
Write each of the sequences in ss to the stream in the given format.
|
public RichStreamWriter(OutputStream os, RichSequenceFormat format)
os
- the OutputStream to write toformat
- the SequenceFormat to write withpublic void writeStream(SequenceIterator ss, Namespace ns) throws IOException
ss
- the SequenceIterator to loop overIOException
- if the stream has any problemsCopyright © 2014 BioJava. All rights reserved.