public class CompositeFileErrorHandler extends Object implements FileErrorHandler
| Constructor and Description | 
|---|
CompositeFileErrorHandler(List<FileErrorHandler> handlers)  | 
| 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. 
 | 
public CompositeFileErrorHandler(List<FileErrorHandler> handlers)
public void handleFile(org.apache.commons.vfs.FileObject file)
                throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleFile in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionpublic void handleLineError(long lineNr,
                   String filePart)
                     throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleLineError in interface FileErrorHandlerfilePart - allows us to split error according to a filePartorg.pentaho.di.core.exception.KettleExceptionpublic void close()
           throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerclose in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionpublic void handleNonExistantFile(org.apache.commons.vfs.FileObject file)
                           throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleNonExistantFile in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionpublic void handleNonAccessibleFile(org.apache.commons.vfs.FileObject file)
                             throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleNonAccessibleFile in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleException