Class FileErrorHandlerContentLineNumber

    • Constructor Detail

      • FileErrorHandlerContentLineNumber

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

      • handleLineError

        public void handleLineError​(long lineNr,
                                    String filePart)
                             throws org.pentaho.di.core.exception.KettleException
        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
        Throws:
        org.pentaho.di.core.exception.KettleException
      • handleNonExistantFile

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

        public void handleNonAccessibleFile​(org.apache.commons.vfs2.FileObject file)
        Description copied from interface: FileErrorHandler
        This method handles a file that is required, but is not accessible.