| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.trans.step.errorhandling.CompositeFileErrorHandler
public class CompositeFileErrorHandler
| Constructor Summary | |
|---|---|
CompositeFileErrorHandler(List<FileErrorHandler> handlers)
 | 
|
| Method Summary | |
|---|---|
 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.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CompositeFileErrorHandler(List<FileErrorHandler> handlers)
| Method Detail | 
|---|
public void handleFile(org.apache.commons.vfs.FileObject file)
                throws org.pentaho.di.core.exception.KettleException
FileErrorHandler
handleFile in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleException
public void handleLineError(long lineNr,
                            String filePart)
                     throws org.pentaho.di.core.exception.KettleException
FileErrorHandler
handleLineError in interface FileErrorHandlerfilePart - allows us to split error according to a filePart
org.pentaho.di.core.exception.KettleException
public void close()
           throws org.pentaho.di.core.exception.KettleException
FileErrorHandler
close in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleException
public void handleNonExistantFile(org.apache.commons.vfs.FileObject file)
                           throws org.pentaho.di.core.exception.KettleException
FileErrorHandler
handleNonExistantFile in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleException
public void handleNonAccessibleFile(org.apache.commons.vfs.FileObject file)
                             throws org.pentaho.di.core.exception.KettleException
FileErrorHandler
handleNonAccessibleFile in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||