Package org.imixs.workflow.importer.ftp
Class FTPImportService
java.lang.Object
org.imixs.workflow.importer.ftp.FTPImportService
The FTPImportService reacts on DocumentImportEvent and processes an
FTP/FTPS/SFTP data source.
Supported types: - type=FTP - type=FTPS - type=SFTP
FTP/FTPS uses Apache Commons Net. SFTP uses SSHJ.
- Author:
- Imixs Software Solutions GmbH Ralph Soika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectioncreateWorkitem(org.imixs.workflow.ItemCollection source, String fileName, byte[] rawData) voidonEvent(DocumentImportEvent event) Reacts on a DocumentImportEvent and imports files from an FTP/FTPS/SFTP server.
-
Constructor Details
-
FTPImportService
public FTPImportService()
-
-
Method Details
-
onEvent
Reacts on a DocumentImportEvent and imports files from an FTP/FTPS/SFTP server. -
createWorkitem
public org.imixs.workflow.ItemCollection createWorkitem(org.imixs.workflow.ItemCollection source, String fileName, byte[] rawData) throws org.imixs.workflow.exceptions.AccessDeniedException, org.imixs.workflow.exceptions.ProcessingErrorException, org.imixs.workflow.exceptions.PluginException, org.imixs.workflow.exceptions.ModelException - Throws:
org.imixs.workflow.exceptions.AccessDeniedExceptionorg.imixs.workflow.exceptions.ProcessingErrorExceptionorg.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.ModelException
-