Class BaseFileInputStepUtils

java.lang.Object
org.pentaho.di.trans.steps.file.BaseFileInputStepUtils

public class BaseFileInputStepUtils extends Object
Utils for file-based input steps.
Author:
Alexander Buloichik
  • 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)
      Adds String value meta with given name if not present and returns index
      Parameters:
      rowMeta -
      fieldName -
      Returns:
      Index in row meta of value meta with fieldName