public class FileErrorHandlerContentLineNumber extends AbstractFileErrorHandler
NO_PARTS| Constructor and Description |
|---|
FileErrorHandlerContentLineNumber(Date date,
String destinationDirectory,
String fileExtension,
String encoding,
BaseStep baseStep) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleLineError(long lineNr,
String filePart)
This method handles an error when processing the line with corresponding
lineNr.
|
void |
handleNonAccessibleFile(org.apache.commons.vfs.FileObject file)
This method handles a file that is required, but is not accessible.
|
void |
handleNonExistantFile(org.apache.commons.vfs.FileObject file)
This method handles a file that is required, but does not exist.
|
close, createDateFormat, getReplayFilename, getReplayFilename, handleFilepublic void handleLineError(long lineNr,
String filePart)
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerfilePart - allows us to split error according to a filePartorg.pentaho.di.core.exception.KettleExceptionpublic void handleNonExistantFile(org.apache.commons.vfs.FileObject file)
FileErrorHandlerpublic void handleNonAccessibleFile(org.apache.commons.vfs.FileObject file)
FileErrorHandler