|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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
SequenceAnnotation s that can be used as comment line in a file. |
Method Detail |
---|
SequenceAnnotation[] getCurrentAnnotation()
SequenceAnnotation
.
SequenceAnnotation
void 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
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 parsed
SequenceAnnotation
sDataSet.save(java.io.OutputStream, char, SequenceAnnotationParser)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |