public class CompositeFileErrorHandler extends Object implements FileErrorHandler
| 构造器和说明 |
|---|
CompositeFileErrorHandler(List<FileErrorHandler> handlers) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public CompositeFileErrorHandler(List<FileErrorHandler> handlers)
public void handleFile(org.apache.commons.vfs2.FileObject file)
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleFile 在接口中 FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionpublic void handleLineError(long lineNr,
String filePart)
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleLineError 在接口中 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 在接口中 FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionpublic void handleNonExistantFile(org.apache.commons.vfs2.FileObject file)
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleNonExistantFile 在接口中 FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionpublic void handleNonAccessibleFile(org.apache.commons.vfs2.FileObject file)
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleNonAccessibleFile 在接口中 FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionCopyright © 2024 Hitachi Vantara. All rights reserved.