Class FileErrorHandlerMissingFiles

java.lang.Object
org.pentaho.di.trans.step.errorhandling.AbstractFileErrorHandler
org.pentaho.di.trans.step.errorhandling.FileErrorHandlerMissingFiles
All Implemented Interfaces:
FileErrorHandler

public class FileErrorHandlerMissingFiles extends AbstractFileErrorHandler
  • Field Details

    • THIS_FILE_DOES_NOT_EXIST

      public static final String THIS_FILE_DOES_NOT_EXIST
    • THIS_FILE_WAS_NOT_ACCESSIBLE

      public static final String THIS_FILE_WAS_NOT_ACCESSIBLE
  • Constructor Details

    • FileErrorHandlerMissingFiles

      public FileErrorHandlerMissingFiles(Date date, String destinationDirectory, String fileExtension, String encoding, BaseStep baseStep)
  • Method Details

    • handleLineError

      public void handleLineError(long lineNr, String filePart)
      Description copied from interface: FileErrorHandler
      This method handles an error when processing the line with corresponding lineNr.
      filePart - allows us to split error according to a filePart
    • handleNonExistantFile

      public void handleNonExistantFile(org.apache.commons.vfs2.FileObject file) throws org.pentaho.di.core.exception.KettleException
      Description copied from interface: FileErrorHandler
      This method handles a file that is required, but does not exist.
      Throws:
      org.pentaho.di.core.exception.KettleException
    • handleNonAccessibleFile

      public void handleNonAccessibleFile(org.apache.commons.vfs2.FileObject file) throws org.pentaho.di.core.exception.KettleException
      Description copied from interface: FileErrorHandler
      This method handles a file that is required, but is not accessible.
      Throws:
      org.pentaho.di.core.exception.KettleException