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 Summary
Fields Modifier and Type Field Description static String
THIS_FILE_DOES_NOT_EXIST
static String
THIS_FILE_WAS_NOT_ACCESSIBLE
-
Fields inherited from class org.pentaho.di.trans.step.errorhandling.AbstractFileErrorHandler
NO_PARTS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleLineError(long lineNr, String filePart)
This method handles an error when processing the line with corresponding lineNr.void
handleNonAccessibleFile(org.apache.commons.vfs2.FileObject file)
This method handles a file that is required, but is not accessible.void
handleNonExistantFile(org.apache.commons.vfs2.FileObject file)
This method handles a file that is required, but does not exist.-
Methods inherited from class org.pentaho.di.trans.step.errorhandling.AbstractFileErrorHandler
close, createDateFormat, getReplayFilename, getReplayFilename, handleFile
-
-
-
-
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
-
-