public class GAMEFormat extends Object implements SequenceFormat
| Constructor and Description | 
|---|
GAMEFormat()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDefaultFormat()
Deprecated.   
 | 
boolean | 
readSequence(BufferedReader reader,
            SymbolTokenization symParser,
            SeqIOListener listener)
this version only reads annotations (no symbols) 
 | 
void | 
writeSequence(Sequence seq,
             PrintStream os)
writeSequence writes a sequence to the specified
 PrintStream, using the default format. | 
void | 
writeSequence(Sequence seq,
             String format,
             PrintStream os)
writeSequence writes a sequence to the specified
 PrintStream, using the specified format. | 
public static final String DEFAULT
public GAMEFormat()
public boolean readSequence(BufferedReader reader, SymbolTokenization symParser, SeqIOListener listener) throws IOException
readSequence in interface SequenceFormatreader - The stream of data to parse.symParser - A SymbolParser defining a mapping from
 character data to Symbols.listener - A listener to notify when data is extracted
 from the stream.IOException - if an error occurs while reading from the
 stream.public void writeSequence(Sequence seq, PrintStream os)
SequenceFormatwriteSequence writes a sequence to the specified
 PrintStream, using the default format.writeSequence in interface SequenceFormatseq - the sequence to write out.os - the printstream to write to.public void writeSequence(Sequence seq, String format, PrintStream os)
SequenceFormatwriteSequence writes a sequence to the specified
 PrintStream, using the specified format.writeSequence in interface SequenceFormatseq - a Sequence to write out.format - a String indicating which sub-format
 of those available from a particular
 SequenceFormat implemention to use when
 writing.os - a PrintStream object.public String getDefaultFormat()
getDefaultFormat returns the String identifier for
 the default format.getDefaultFormat in interface SequenceFormatString.Copyright © 2020 BioJava. All rights reserved.