Package org.biojava.bio.program.gff
Class GFFErrorHandler.AbortErrorHandler
java.lang.Object
org.biojava.bio.program.gff.GFFErrorHandler.AbortErrorHandler
- All Implemented Interfaces:
GFFErrorHandler
- Enclosing interface:
GFFErrorHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.biojava.bio.program.gff.GFFErrorHandler
GFFErrorHandler.AbortErrorHandler, GFFErrorHandler.SkipRecordErrorHandler
-
Field Summary
Fields inherited from interface org.biojava.bio.program.gff.GFFErrorHandler
ABORT_PARSING, SKIP_RECORD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
invalidEnd
(String token) The `end' field of the GFF entry was not a valid value.int
invalidFrame
(String token) The `frame' field of the GFF entry was not a valid value.double
invalidScore
(String token) The `score' field of the GFF entry was not a valid value.int
invalidStart
(String token) The `start' field of the GFF entry was not a valid value.invalidStrand
(String token) The `strand' field of the GFF entry was not a valid value.
-
Constructor Details
-
AbortErrorHandler
public AbortErrorHandler()
-
-
Method Details
-
invalidStart
Description copied from interface:GFFErrorHandler
The `start' field of the GFF entry was not a valid value.- Specified by:
invalidStart
in interfaceGFFErrorHandler
- Parameters:
token
- The start token found.- Returns:
- A parsed value, if this is possible
- Throws:
ParserException
- If parsing should be aborted
-
invalidEnd
Description copied from interface:GFFErrorHandler
The `end' field of the GFF entry was not a valid value.- Specified by:
invalidEnd
in interfaceGFFErrorHandler
- Parameters:
token
- The end token found.- Returns:
- A parsed value, if this is possible
- Throws:
ParserException
- If parsing should be aborted
-
invalidScore
Description copied from interface:GFFErrorHandler
The `score' field of the GFF entry was not a valid value.- Specified by:
invalidScore
in interfaceGFFErrorHandler
- Parameters:
token
- The score token found.- Returns:
- A parsed value, if this is possible
- Throws:
ParserException
- If parsing should be aborted
-
invalidFrame
Description copied from interface:GFFErrorHandler
The `frame' field of the GFF entry was not a valid value.- Specified by:
invalidFrame
in interfaceGFFErrorHandler
- Parameters:
token
- The frame token found.- Returns:
- A parsed value, if this is possible
- Throws:
ParserException
- If parsing should be aborted
-
invalidStrand
Description copied from interface:GFFErrorHandler
The `strand' field of the GFF entry was not a valid value.- Specified by:
invalidStrand
in interfaceGFFErrorHandler
- Parameters:
token
- The strand token found.- Returns:
- A parsed value, if this is possible
- Throws:
ParserException
- If parsing should be aborted
-