public abstract class AbstractFileErrorHandler extends Object implements FileErrorHandler
| Constructor and Description |
|---|
AbstractFileErrorHandler(Date date,
String destinationDirectory,
String fileExtension,
String encoding,
BaseStep baseStep) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method closes the handler;
|
static DateFormat |
createDateFormat() |
static org.apache.commons.vfs.FileObject |
getReplayFilename(String destinationDirectory,
String processingFilename,
Date date,
String extension,
Object source) |
static org.apache.commons.vfs.FileObject |
getReplayFilename(String destinationDirectory,
String processingFilename,
String dateString,
String extension,
Object source) |
void |
handleFile(org.apache.commons.vfs.FileObject file)
Tells the handler which file is being processed.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleLineError, handleNonAccessibleFile, handleNonExistantFilepublic static final String NO_PARTS
public static DateFormat createDateFormat()
public static org.apache.commons.vfs.FileObject getReplayFilename(String destinationDirectory, String processingFilename, String dateString, String extension, Object source) throws org.pentaho.di.core.exception.KettleFileException
org.pentaho.di.core.exception.KettleFileExceptionpublic static org.apache.commons.vfs.FileObject getReplayFilename(String destinationDirectory, String processingFilename, Date date, String extension, Object source) throws org.pentaho.di.core.exception.KettleFileException
org.pentaho.di.core.exception.KettleFileExceptionpublic void close()
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerclose in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleExceptionpublic void handleFile(org.apache.commons.vfs.FileObject file)
throws org.pentaho.di.core.exception.KettleException
FileErrorHandlerhandleFile in interface FileErrorHandlerorg.pentaho.di.core.exception.KettleException