public interface SeqFileFormer extends SeqIOListener
SeqFileFormer interface are
 responsible for the detailed formatting of sequence data prior to
 writing to a PrintStream. Some file formats, such as
 Fasta, are very simple and don't require a
 SeqFileFormer.| Modifier and Type | Method and Description | 
|---|---|
String | 
formatLocation(Feature theFeature)
Deprecated.  
Formats the location of a feature. 
 | 
StringBuffer | 
formatLocation(StringBuffer sb,
              Location loc,
              StrandedFeature.Strand strand)
Deprecated.  
formatLocation creates a String representation of
 a Location. | 
PrintStream | 
getPrintStream()
Deprecated.  
getPrintStream returns the
 PrintStream to which an instance will write the
 formatted data. | 
void | 
setPrintStream(PrintStream stream)
Deprecated.  
setPrintStream informs an instance which
 PrintStream to use. | 
addFeatureProperty, addSequenceProperty, addSymbols, endFeature, endSequence, setName, setURI, startFeature, startSequencePrintStream getPrintStream()
getPrintStream returns the
 PrintStream to which an instance will write the
 formatted data. If this has not been set, an implementation
 should default to System.out.PrintStream which will be written to.void setPrintStream(PrintStream stream)
setPrintStream informs an instance which
 PrintStream to use.stream - a PrintStream to write to.StringBuffer formatLocation(StringBuffer sb, Location loc, StrandedFeature.Strand strand)
formatLocation creates a String representation of
 a Location. The strand may not be relevant for all
 formats (e.g. it is relevant for Genbank and EMBL, but not for
 SwissProt). In such cases the implementation may accept a
 strand of 'unknown', '0' or '.'. A StringBuffer is
 used to allow avoidance of expensive String
 manipulations on (potentially very large numbers of) locations.sb - a StringBuffer to append the location
 to.loc - a Location to format.strand - a StrandedFeature.Strand indicating
 any relevant strandedness.StringBuffer with the location appended.String formatLocation(Feature theFeature)
theFeature - The feature with the location to formatCopyright © 2020 BioJava. All rights reserved.