public interface FileErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
close()
This method closes the handler;
|
void |
handleFile(org.apache.commons.vfs2.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.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.
|
void handleFile(org.apache.commons.vfs2.FileObject file) throws KettleException
file
- KettleException
void handleLineError(long lineNr, String filePart) throws KettleException
lineNr
- filePart
- allows us to split error according to a filePartKettleException
void close() throws KettleException
KettleException
void handleNonExistantFile(org.apache.commons.vfs2.FileObject file) throws KettleException
file
- KettleException
void handleNonAccessibleFile(org.apache.commons.vfs2.FileObject file) throws KettleException
file
- KettleException
Copyright © 2018 Hitachi Vantara. All rights reserved.