|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.mpi_bremen.mgg.FastaValidator.FastaValidator
public class FastaValidator
The FastaValidator itself - main class of the package. Here everything is glued together.
Nested Class Summary | |
---|---|
static class |
FastaValidator.Sequencetype
Represents parsable sequencetypes. |
Constructor Summary | |
---|---|
FastaValidator(FastaValidatorCallback callback)
Constructs a FastaValidator and binds event methods. |
Method Summary | |
---|---|
FastaValidator.Sequencetype |
getSequencetype()
Returns current selected sequencetype. |
void |
setSequencetype(FastaValidator.Sequencetype seqtype)
Sets the sequencetype to parse. |
protected void |
validate(FastaValidatorLexer lexer)
|
void |
validate(java.io.Reader reader)
Validates/Parses a fasta-formatted source. |
void |
validate(java.lang.String filename)
Validates/Parses a fasta-formatted file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FastaValidator(FastaValidatorCallback callback)
callback
- event method implementationMethod Detail |
---|
public void setSequencetype(FastaValidator.Sequencetype seqtype)
seqtype
- selected sequencetypepublic FastaValidator.Sequencetype getSequencetype()
public void validate(java.lang.String filename) throws java.io.FileNotFoundException, java.io.IOException, FastaValidatorException, FastaHandlingException
filename
- the file to be parsed
java.io.FileNotFoundException
java.io.IOException
FastaValidatorException
FastaHandlingException
public void validate(java.io.Reader reader) throws java.io.IOException, FastaValidatorException, FastaHandlingException
reader
- the source to be parsed
java.io.IOException
FastaValidatorException
FastaHandlingException
protected void validate(FastaValidatorLexer lexer) throws java.io.IOException, FastaValidatorException, FastaHandlingException
java.io.IOException
FastaValidatorException
FastaHandlingException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |