Class AbstractFileErrorHandler

    • Constructor Detail

      • AbstractFileErrorHandler

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

      • createDateFormat

        public static DateFormat createDateFormat()
      • getReplayFilename

        public static org.apache.commons.vfs2.FileObject getReplayFilename​(String destinationDirectory,
                                                                           String processingFilename,
                                                                           String dateString,
                                                                           String extension,
                                                                           Object source)
                                                                    throws org.pentaho.di.core.exception.KettleFileException
        Throws:
        org.pentaho.di.core.exception.KettleFileException
      • getReplayFilename

        public static org.apache.commons.vfs2.FileObject getReplayFilename​(String destinationDirectory,
                                                                           String processingFilename,
                                                                           Date date,
                                                                           String extension,
                                                                           Object source)
                                                                    throws org.pentaho.di.core.exception.KettleFileException
        Throws:
        org.pentaho.di.core.exception.KettleFileException
      • close

        public void close()
                   throws org.pentaho.di.core.exception.KettleException
        Description copied from interface: FileErrorHandler
        This method closes the handler;
        Specified by:
        close in interface FileErrorHandler
        Throws:
        org.pentaho.di.core.exception.KettleException
      • handleFile

        public void handleFile​(org.apache.commons.vfs2.FileObject file)
                        throws org.pentaho.di.core.exception.KettleException
        Description copied from interface: FileErrorHandler
        Tells the handler which file is being processed.
        Specified by:
        handleFile in interface FileErrorHandler
        Throws:
        org.pentaho.di.core.exception.KettleException