Class TextFileFilterProcessor
- java.lang.Object
-
- org.pentaho.di.trans.steps.fileinput.text.TextFileFilterProcessor
-
public class TextFileFilterProcessor extends Object
Processor of Filters. Kind of inversion principle, and to make unit testing easier.- Author:
- Sven Boden
-
-
Constructor Summary
Constructors Constructor Description TextFileFilterProcessor(TextFileFilter[] filters, org.pentaho.di.core.variables.VariableSpace space)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doFilters(String line)
boolean
isStopProcessing()
Was processing requested to be stopped.
-
-
-
Constructor Detail
-
TextFileFilterProcessor
public TextFileFilterProcessor(TextFileFilter[] filters, org.pentaho.di.core.variables.VariableSpace space)
- Parameters:
filters
- The filters to process
-
-
Method Detail
-
doFilters
public boolean doFilters(String line)
-
isStopProcessing
public boolean isStopProcessing()
Was processing requested to be stopped. Can only be true when doFilters was false.- Returns:
- == true: processing should stop, == false: processing should continue.
-
-