public interface SequenceAnnotationParser
AbstractStringExtractor
to annotate a String
which will be parsed to a Sequence
.Modifier and Type | Method and Description |
---|---|
void |
addToAnnotation(String unparsed)
|
void |
clearAnnotation()
This method reset the current
SequenceAnnotation . |
SequenceAnnotation[] |
getCurrentAnnotation()
This method returns the current
SequenceAnnotation . |
String |
parseAnnotationToComment(char commentChar,
SequenceAnnotation... annotations)
This method returns a
String representation of the given
SequenceAnnotation s that can be used as comment line in a file. |
SequenceAnnotation[] getCurrentAnnotation()
SequenceAnnotation
.SequenceAnnotation
void addToAnnotation(String unparsed)
unparsed
- the String containing the annotationvoid clearAnnotation()
SequenceAnnotation
.String parseAnnotationToComment(char commentChar, SequenceAnnotation... annotations)
String
representation of the given
SequenceAnnotation
s that can be used as comment line in a file.
addToAnnotation(String)
.commentChar
- the char at the beginning of comment linesannotations
- the SequenceAnnotation
s to be parsedSequenceAnnotation
sDataSet.save(java.io.OutputStream, char, SequenceAnnotationParser)