Package org.pentaho.di.trans.steps.file
Class BaseFileInputStepUtils
java.lang.Object
org.pentaho.di.trans.steps.file.BaseFileInputStepUtils
Utils for file-based input steps.
- Author:
- Alexander Buloichik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intaddValueMeta(String stepName, org.pentaho.di.core.row.RowMetaInterface rowMeta, String fieldName) AddsStringvalue meta with given name if not present and returns indexstatic voidhandleMissingFiles(org.pentaho.di.core.fileinput.FileInputList files, org.pentaho.di.core.logging.LogChannelInterface log, boolean isErrorIgnored, FileErrorHandler errorHandler)
-
Constructor Details
-
BaseFileInputStepUtils
public BaseFileInputStepUtils()
-
-
Method Details
-
handleMissingFiles
public static void handleMissingFiles(org.pentaho.di.core.fileinput.FileInputList files, org.pentaho.di.core.logging.LogChannelInterface log, boolean isErrorIgnored, FileErrorHandler errorHandler) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
addValueMeta
public static int addValueMeta(String stepName, org.pentaho.di.core.row.RowMetaInterface rowMeta, String fieldName) AddsStringvalue meta with given name if not present and returns index- Parameters:
rowMeta-fieldName-- Returns:
- Index in row meta of value meta with
fieldName
-