Class RichStreamWriter


  • public class RichStreamWriter
    extends Object
    Writes all of the sequences from a SequenceIterator to a stream with a particular format. This can be wired from a StreamReader to make a simple file-format conversion utility, or can be used to write out the sequences in a database to disk.
    Since:
    1.5
    Author:
    Matthew Pocock, Richard Holland
    • Constructor Detail

      • RichStreamWriter

        public RichStreamWriter​(OutputStream os,
                                RichSequenceFormat format)
        Generate a new RichStreamWriter to the stream os and using format.
        Parameters:
        os - the OutputStream to write to
        format - the SequenceFormat to write with