Class AllHandler
java.lang.Object
org.dbunit.dataset.common.handlers.AbstractPipelineComponent
org.dbunit.dataset.common.handlers.AllHandler
- All Implemented Interfaces:
Handler,PipelineComponent
PipelineComponent that matches any character, used as the basis for
catch-all accept/ignore handlers.- Since:
- 2.2 (Sep 12, 2004)
- Version:
- $Revision$ $Date$
- Author:
- fede, Last changed by: $Author$
-
Nested Class Summary
Nested classes/interfaces inherited from class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
AbstractPipelineComponent.ACCEPT, AbstractPipelineComponent.IGNORE -
Method Summary
Modifier and TypeMethodDescriptionstatic final PipelineComponentACCEPT()Creates a handler that accepts every character it is given.booleancanHandle(char c) Determines whether this handler can handle the given character.static final PipelineComponentIGNORE()Creates a handler that ignores every character it is given.Methods inherited from class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
accept, allowForNoMoreInput, createPipelineComponent, getHelper, getPipeline, getPipelineConfig, getSuccessor, handle, noMoreInput, setPipeline, setSuccessor
-
Method Details
-
ACCEPT
Creates a handler that accepts every character it is given.- Returns:
- a new accept-all pipeline component.
-
IGNORE
Creates a handler that ignores every character it is given.- Returns:
- a new ignore-all pipeline component.
-
canHandle
Description copied from interface:HandlerDetermines whether this handler can handle the given character.- Parameters:
c- the character to check.- Returns:
trueif this handler can handle the character.- Throws:
IllegalInputCharacterException- if the character is not valid in the current context.
-