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.vfs2.FileObject |
getReplayFilename(String destinationDirectory,
String processingFilename,
Date date,
String extension,
Object source) |
static org.apache.commons.vfs2.FileObject |
getReplayFilename(String destinationDirectory,
String processingFilename,
String dateString,
String extension,
Object source) |
void |
handleFile(org.apache.commons.vfs2.FileObject file)
Tells the handler which file is being processed.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleLineError, handleNonAccessibleFile, handleNonExistantFile
public static final String NO_PARTS
public static DateFormat createDateFormat()
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
org.pentaho.di.core.exception.KettleFileException
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
org.pentaho.di.core.exception.KettleFileException
public void close() throws org.pentaho.di.core.exception.KettleException
FileErrorHandler
close
in interface FileErrorHandler
org.pentaho.di.core.exception.KettleException
public void handleFile(org.apache.commons.vfs2.FileObject file) throws org.pentaho.di.core.exception.KettleException
FileErrorHandler
handleFile
in interface FileErrorHandler
org.pentaho.di.core.exception.KettleException