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.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.
|
close, createDateFormat, getReplayFilename, getReplayFilename, handleFilepublic void handleLineError(long lineNr,
String filePart)
throws KettleException
FileErrorHandlerfilePart - allows us to split error according to a filePartKettleExceptionpublic void handleNonExistantFile(org.apache.commons.vfs2.FileObject file)
FileErrorHandlerpublic void handleNonAccessibleFile(org.apache.commons.vfs2.FileObject file)
FileErrorHandlerCopyright © 2018 Hitachi Vantara. All rights reserved.