Class AbstractFileErrorHandler
java.lang.Object
org.pentaho.di.trans.step.errorhandling.AbstractFileErrorHandler
- All Implemented Interfaces:
FileErrorHandler
- Direct Known Subclasses:
FileErrorHandlerContentLineNumber,FileErrorHandlerMissingFiles
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This method closes the handler;static DateFormatstatic org.apache.commons.vfs2.FileObjectgetReplayFilename(String destinationDirectory, String processingFilename, String dateString, String extension, Object source) static org.apache.commons.vfs2.FileObjectgetReplayFilename(String destinationDirectory, String processingFilename, Date date, String extension, Object source) voidhandleFile(org.apache.commons.vfs2.FileObject file) Tells the handler which file is being processed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.di.trans.step.errorhandling.FileErrorHandler
handleLineError, handleNonAccessibleFile, handleNonExistantFile
-
Field Details
-
NO_PARTS
- See Also:
-
-
Constructor Details
-
AbstractFileErrorHandler
-
-
Method Details
-
createDateFormat
-
getReplayFilename
public static org.apache.commons.vfs2.FileObject getReplayFilename(String destinationDirectory, String processingFilename, String dateString, String extension, Object source) throws org.pentaho.di.core.exception.KettleFileException - Throws:
org.pentaho.di.core.exception.KettleFileException
-
getReplayFilename
public static org.apache.commons.vfs2.FileObject getReplayFilename(String destinationDirectory, String processingFilename, Date date, String extension, Object source) throws org.pentaho.di.core.exception.KettleFileException - Throws:
org.pentaho.di.core.exception.KettleFileException
-
close
public void close() throws org.pentaho.di.core.exception.KettleExceptionDescription copied from interface:FileErrorHandlerThis method closes the handler;- Specified by:
closein interfaceFileErrorHandler- Throws:
org.pentaho.di.core.exception.KettleException
-
handleFile
public void handleFile(org.apache.commons.vfs2.FileObject file) throws org.pentaho.di.core.exception.KettleException Description copied from interface:FileErrorHandlerTells the handler which file is being processed.- Specified by:
handleFilein interfaceFileErrorHandler- Throws:
org.pentaho.di.core.exception.KettleException
-