|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SequenceAnnotationParser
This interface declares the methods which are used by
AbstractStringExtractor to annotate a String
which will be parsed to a Sequence.
| Method Summary | |
|---|---|
void |
addToAnnotation(String unparsed)
This method adds the unparsed String in some way to
the SequenceAnnotation. |
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. |
| Method Detail |
|---|
SequenceAnnotation[] getCurrentAnnotation()
SequenceAnnotation.
SequenceAnnotationvoid addToAnnotation(String unparsed)
unparsed String in some way to
the SequenceAnnotation.
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 parsed
SequenceAnnotationsDataSet.save(java.io.OutputStream, char, SequenceAnnotationParser)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||