public class FileErrorHandlerMissingFiles extends AbstractFileErrorHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
THIS_FILE_DOES_NOT_EXIST |
static String |
THIS_FILE_WAS_NOT_ACCESSIBLE |
NO_PARTS| Constructor and Description |
|---|
FileErrorHandlerMissingFiles(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 static final String THIS_FILE_DOES_NOT_EXIST
public static final String THIS_FILE_WAS_NOT_ACCESSIBLE
public void handleLineError(long lineNr,
String filePart)
FileErrorHandlerfilePart - allows us to split error according to a filePartpublic void handleNonExistantFile(org.apache.commons.vfs.FileObject file)
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionpublic void handleNonAccessibleFile(org.apache.commons.vfs.FileObject file)
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerorg.pentaho.di.core.exception.KettleException