org.pentaho.di.trans.step.errorhandling
Class FileErrorHandlerMissingFiles
java.lang.Object
org.pentaho.di.trans.step.errorhandling.AbstractFileErrorHandler
org.pentaho.di.trans.step.errorhandling.FileErrorHandlerMissingFiles
- All Implemented Interfaces:
- FileErrorHandler
public class FileErrorHandlerMissingFiles
- extends AbstractFileErrorHandler
Method Summary |
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. |
THIS_FILE_DOES_NOT_EXIST
public static final String THIS_FILE_DOES_NOT_EXIST
THIS_FILE_WAS_NOT_ACCESSIBLE
public static final String THIS_FILE_WAS_NOT_ACCESSIBLE
FileErrorHandlerMissingFiles
public FileErrorHandlerMissingFiles(Date date,
String destinationDirectory,
String fileExtension,
String encoding,
BaseStep baseStep)
handleLineError
public void handleLineError(long lineNr,
String filePart)
- Description copied from interface:
FileErrorHandler
- This method handles an error when processing the line with corresponding
lineNr.
filePart
- allows us to split error according to a filePart
handleNonExistantFile
public void handleNonExistantFile(org.apache.commons.vfs.FileObject file)
throws KettleException
- Description copied from interface:
FileErrorHandler
- This method handles a file that is required, but does not exist.
- Throws:
KettleException
handleNonAccessibleFile
public void handleNonAccessibleFile(org.apache.commons.vfs.FileObject file)
throws KettleException
- Description copied from interface:
FileErrorHandler
- This method handles a file that is required, but is not accessible.
- Throws:
KettleException