public interface GFFErrorHandler
Each of these methods has three options:
Modifier and Type | Interface and Description |
---|---|
static class |
GFFErrorHandler.AbortErrorHandler |
static class |
GFFErrorHandler.SkipRecordErrorHandler |
Modifier and Type | Field and Description |
---|---|
static GFFErrorHandler |
ABORT_PARSING |
static GFFErrorHandler |
SKIP_RECORD |
Modifier and Type | Method and Description |
---|---|
int |
invalidEnd(java.lang.String token)
The `end' field of the GFF entry was not a valid value.
|
int |
invalidFrame(java.lang.String token)
The `frame' field of the GFF entry was not a valid value.
|
double |
invalidScore(java.lang.String token)
The `score' field of the GFF entry was not a valid value.
|
int |
invalidStart(java.lang.String token)
The `start' field of the GFF entry was not a valid value.
|
StrandedFeature.Strand |
invalidStrand(java.lang.String token)
The `strand' field of the GFF entry was not a valid value.
|
static final GFFErrorHandler ABORT_PARSING
static final GFFErrorHandler SKIP_RECORD
int invalidStart(java.lang.String token) throws ParserException, IgnoreRecordException
token
- The start token found.ParserException
- If parsing should be abortedIgnoreRecordException
- If this record should be silently skipped.int invalidEnd(java.lang.String token) throws ParserException, IgnoreRecordException
token
- The end token found.ParserException
- If parsing should be abortedIgnoreRecordException
- If this record should be silently skipped.double invalidScore(java.lang.String token) throws ParserException, IgnoreRecordException
token
- The score token found.ParserException
- If parsing should be abortedIgnoreRecordException
- If this record should be silently skipped.int invalidFrame(java.lang.String token) throws ParserException, IgnoreRecordException
token
- The frame token found.ParserException
- If parsing should be abortedIgnoreRecordException
- If this record should be silently skipped.StrandedFeature.Strand invalidStrand(java.lang.String token) throws ParserException, IgnoreRecordException
token
- The strand token found.ParserException
- If parsing should be abortedIgnoreRecordException
- If this record should be silently skipped.