public class SimpleStringExtractor extends AbstractStringExtractor
Strings. It enables the user to
create a DataSet from a bunch of Strings. It
might be useful if one likes to select or create the Strings by an
own procedure. The extracted Strings which should be parsed to
Sequence will not be annotated, since
AbstractStringExtractor.getCurrentSequenceAnnotations() always returns
null.annotation, FASTA, ignore, ignorePattern, USUALLY| Constructor and Description |
|---|
SimpleStringExtractor(String... strings)
This constructor packs the
Strings in an instance of
SimpleStringExtractor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
String |
nextElement() |
getAnnotation, getCurrentSequenceAnnotationspublic SimpleStringExtractor(String... strings)
Strings in an instance of
SimpleStringExtractor.strings - the Strings that will be packedAbstractStringExtractor.AbstractStringExtractor(char)public boolean hasMoreElements()
public String nextElement()