public interface FileErrorHandler
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method closes the handler;
|
void |
handleFile(org.apache.commons.vfs.FileObject file)
Tells the handler which file is being processed.
|
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.
|
void handleFile(org.apache.commons.vfs.FileObject file)
throws org.pentaho.di.core.exception.KettleException
file - org.pentaho.di.core.exception.KettleExceptionvoid handleLineError(long lineNr,
String filePart)
throws org.pentaho.di.core.exception.KettleException
lineNr - filePart - allows us to split error according to a filePartorg.pentaho.di.core.exception.KettleExceptionvoid close()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionvoid handleNonExistantFile(org.apache.commons.vfs.FileObject file)
throws org.pentaho.di.core.exception.KettleException
file - org.pentaho.di.core.exception.KettleExceptionvoid handleNonAccessibleFile(org.apache.commons.vfs.FileObject file)
throws org.pentaho.di.core.exception.KettleException
file - org.pentaho.di.core.exception.KettleException