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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleLineError, handleNonAccessibleFile, handleNonExistantFilepublic 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 KettleFileException
KettleFileExceptionpublic static org.apache.commons.vfs2.FileObject getReplayFilename(String destinationDirectory, String processingFilename, Date date, String extension, Object source) throws KettleFileException
KettleFileExceptionpublic void close()
throws KettleException
FileErrorHandlerclose in interface FileErrorHandlerKettleExceptionpublic void handleFile(org.apache.commons.vfs2.FileObject file)
throws KettleException
FileErrorHandlerhandleFile in interface FileErrorHandlerKettleExceptionCopyright © 2018 Hitachi Vantara. All rights reserved.