public class RichStreamWriter
extends java.lang.Object
Constructor and Description |
---|
RichStreamWriter(java.io.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(java.io.OutputStream os, RichSequenceFormat format)
os
- the OutputStream to write toformat
- the SequenceFormat to write withpublic void writeStream(SequenceIterator ss, Namespace ns) throws java.io.IOException
ss
- the SequenceIterator to loop overjava.io.IOException
- if the stream has any problems