Class FileErrorHandlerContentLineNumber
- java.lang.Object
-
- org.pentaho.di.trans.step.errorhandling.AbstractFileErrorHandler
-
- org.pentaho.di.trans.step.errorhandling.FileErrorHandlerContentLineNumber
-
- All Implemented Interfaces:
FileErrorHandler
public class FileErrorHandlerContentLineNumber extends AbstractFileErrorHandler
-
-
Field Summary
-
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 voidhandleLineError(long lineNr, String filePart)This method handles an error when processing the line with corresponding lineNr.voidhandleNonAccessibleFile(org.apache.commons.vfs2.FileObject file)This method handles a file that is required, but is not accessible.voidhandleNonExistantFile(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) throws org.pentaho.di.core.exception.KettleExceptionDescription copied from interface:FileErrorHandlerThis 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:FileErrorHandlerThis 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:FileErrorHandlerThis method handles a file that is required, but is not accessible.
-
-