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
SequenceAnnotations that can be used as comment line in a file. |
SequenceAnnotation[] getCurrentAnnotation()
SequenceAnnotation.SequenceAnnotationvoid addToAnnotation(String unparsed)
unparsed - the String containing the annotationvoid clearAnnotation()
SequenceAnnotation.String parseAnnotationToComment(char commentChar, SequenceAnnotation... annotations)
String representation of the given
SequenceAnnotations that can be used as comment line in a file.
addToAnnotation(String).commentChar - the char at the beginning of comment linesannotations - the SequenceAnnotations to be parsedSequenceAnnotationsDataSet.save(java.io.OutputStream, char, SequenceAnnotationParser)