Interface PipelineComponent
- All Superinterfaces:
Handler
- All Known Implementing Classes:
AbstractPipelineComponent,AllHandler,EnforceHandler,EscapeHandler,IsAlnumHandler,NoHandler,QuoteHandler,SeparatorHandler,TransparentHandler,UnquotedFieldAssembler,WhitespacesHandler
A
Handler that can be chained into a Pipeline of successors
for character-by-character CSV field parsing.- Since:
- 2.2 (Sep 12, 2004)
- Version:
- $Revision$ $Date$
- Author:
- fede, Last changed by: $Author$
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(char c) Accepts the given character as part of the current field value.Returns the pipeline this component belongs to.voidsetPipeline(Pipeline line) Sets the pipeline this component belongs to.voidsetSuccessor(PipelineComponent successor) Sets the next component to which unhandled characters are delegated.Methods inherited from interface org.dbunit.dataset.common.handlers.Handler
allowForNoMoreInput, canHandle, handle, noMoreInput
-
Method Details
-
setSuccessor
Sets the next component to which unhandled characters are delegated.- Parameters:
successor- the successor component.
-
accept
void accept(char c) Accepts the given character as part of the current field value.- Parameters:
c- the character to accept.
-
setPipeline
Sets the pipeline this component belongs to.- Parameters:
line- the owning pipeline.
-
getPipeline
Pipeline getPipeline()Returns the pipeline this component belongs to.- Returns:
- the owning pipeline.
-