org.pentaho.di.trans.step.errorhandling
Class AbstractFileErrorHandler
java.lang.Object
org.pentaho.di.trans.step.errorhandling.AbstractFileErrorHandler
- All Implemented Interfaces:
- FileErrorHandler
- Direct Known Subclasses:
- FileErrorHandlerContentLineNumber, FileErrorHandlerMissingFiles
public abstract class AbstractFileErrorHandler
- extends Object
- implements FileErrorHandler
NO_PARTS
public static final String NO_PARTS
- See Also:
- Constant Field Values
AbstractFileErrorHandler
public AbstractFileErrorHandler(Date date,
String destinationDirectory,
String fileExtension,
String encoding,
BaseStep baseStep)
createDateFormat
public static DateFormat createDateFormat()
getReplayFilename
public static org.apache.commons.vfs.FileObject getReplayFilename(String destinationDirectory,
String processingFilename,
String dateString,
String extension,
Object source)
throws KettleFileException
- Throws:
KettleFileException
getReplayFilename
public static org.apache.commons.vfs.FileObject getReplayFilename(String destinationDirectory,
String processingFilename,
Date date,
String extension,
Object source)
throws KettleFileException
- Throws:
KettleFileException
close
public void close()
throws KettleException
- Description copied from interface:
FileErrorHandler
- This method closes the handler;
- Specified by:
close
in interface FileErrorHandler
- Throws:
KettleException
handleFile
public void handleFile(org.apache.commons.vfs.FileObject file)
throws KettleException
- Description copied from interface:
FileErrorHandler
- Tells the handler which file is being processed.
- Specified by:
handleFile
in interface FileErrorHandler
- Throws:
KettleException