Class FileErrorHandlerMissingFiles
- java.lang.Object
-
- org.apache.hop.pipeline.transform.errorhandling.AbstractFileErrorHandler
-
- org.apache.hop.pipeline.transform.errorhandling.FileErrorHandlerMissingFiles
-
- All Implemented Interfaces:
IFileErrorHandler
public class FileErrorHandlerMissingFiles extends AbstractFileErrorHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringTHIS_FILE_DOES_NOT_EXISTstatic StringTHIS_FILE_WAS_NOT_ACCESSIBLE-
Fields inherited from class org.apache.hop.pipeline.transform.errorhandling.AbstractFileErrorHandler
NO_PARTS
-
-
Constructor Summary
Constructors Constructor Description FileErrorHandlerMissingFiles(Date date, String destinationDirectory, String fileExtension, String encoding, BaseTransform baseTransform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleLineError(long lineNr, String filePart)This method handles an error when processing the line with corresponding lineNr.voidhandleNonAccessibleFile(org.apache.commons.vfs2.FileObject file)This method handles a file that is required, but is not accessible.voidhandleNonExistantFile(org.apache.commons.vfs2.FileObject file)This method handles a file that is required, but does not exist.-
Methods inherited from class org.apache.hop.pipeline.transform.errorhandling.AbstractFileErrorHandler
close, createDateFormat, getReplayFilename, getReplayFilename, handleFile
-
-
-
-
Constructor Detail
-
FileErrorHandlerMissingFiles
public FileErrorHandlerMissingFiles(Date date, String destinationDirectory, String fileExtension, String encoding, BaseTransform baseTransform)
-
-
Method Detail
-
handleLineError
public void handleLineError(long lineNr, String filePart)Description copied from interface:IFileErrorHandlerThis method handles an error when processing the line with corresponding lineNr.filePart- allows us to split error according to a filePart
-
handleNonExistantFile
public void handleNonExistantFile(org.apache.commons.vfs2.FileObject file) throws HopExceptionDescription copied from interface:IFileErrorHandlerThis method handles a file that is required, but does not exist.- Throws:
HopException
-
handleNonAccessibleFile
public void handleNonAccessibleFile(org.apache.commons.vfs2.FileObject file) throws HopExceptionDescription copied from interface:IFileErrorHandlerThis method handles a file that is required, but is not accessible.- Throws:
HopException
-
-