jebl.evolution.io
Class FastaExporter

java.lang.Object
  extended by jebl.evolution.io.FastaExporter
All Implemented Interfaces:
SequenceExporter

public class FastaExporter
extends Object
implements SequenceExporter

Class for exporting a fasta file format.

Author:
Andrew Rambaut, Alexei Drummond

Constructor Summary
FastaExporter(Writer writer)
          Constructor
 
Method Summary
 void exportSequences(Collection<? extends Sequence> sequences)
          export alignment or set of sequences.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastaExporter

public FastaExporter(Writer writer)
Constructor

Method Detail

exportSequences

public void exportSequences(Collection<? extends Sequence> sequences)
                     throws IOException
export alignment or set of sequences.

Specified by:
exportSequences in interface SequenceExporter
Throws:
IOException