Class FileErrorHandlerMissingFiles

    • Field Detail

      • 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 Detail

      • FileErrorHandlerMissingFiles

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

      • 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