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, 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 KettleFileException
KettleFileException
public static org.apache.commons.vfs2.FileObject getReplayFilename(String destinationDirectory, String processingFilename, Date date, String extension, Object source) throws KettleFileException
KettleFileException
public void close() throws KettleException
FileErrorHandler
close
in interface FileErrorHandler
KettleException
public void handleFile(org.apache.commons.vfs2.FileObject file) throws KettleException
FileErrorHandler
handleFile
in interface FileErrorHandler
KettleException
Copyright © 2018 Hitachi Vantara. All rights reserved.