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, handleFile
public void handleLineError(long lineNr, String filePart) throws org.pentaho.di.core.exception.KettleException
FileErrorHandler
filePart
- allows us to split error according to a filePartorg.pentaho.di.core.exception.KettleException
public void handleNonExistantFile(org.apache.commons.vfs.FileObject file)
FileErrorHandler
public void handleNonAccessibleFile(org.apache.commons.vfs.FileObject file)
FileErrorHandler