public abstract class AbstractParser extends HasEntry
Modifier and Type | Field and Description |
---|---|
protected Entry |
entry |
protected String |
fileName |
protected PartData |
partData |
protected String |
userId |
accountDAO, entryDAO
Constructor and Description |
---|
AbstractParser() |
AbstractParser(String userId,
String entryId) |
Modifier and Type | Method and Description |
---|---|
protected String |
cleanSequence(String sequence)
Replace different line termination characters with the newline character (\n).
|
DNASequence |
parse(String textSequence) |
protected SequenceInfo |
save(DNASequence dnaSequence,
String sequenceString) |
protected final Entry entry
protected final String userId
protected final PartData partData
protected String fileName
public DNASequence parse(String textSequence) throws InvalidFormatParserException
InvalidFormatParserException
protected String cleanSequence(String sequence)
sequence
- Text to clean.protected SequenceInfo save(DNASequence dnaSequence, String sequenceString)
Copyright © 2017. All rights reserved.