public class SimpleStringExtractor extends AbstractStringExtractor
String
s. It enables the user to
create a DataSet
from a bunch of String
s. It
might be useful if one likes to select or create the String
s 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
String s in an instance of
SimpleStringExtractor . |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
String |
nextElement() |
getAnnotation, getCurrentSequenceAnnotations
public SimpleStringExtractor(String... strings)
String
s in an instance of
SimpleStringExtractor
.strings
- the String
s that will be packedAbstractStringExtractor.AbstractStringExtractor(char)
public boolean hasMoreElements()
public String nextElement()