Interface IUploadPostProcessor


  • public interface IUploadPostProcessor
    (Workaround to enable the postprocessing of uploads outside of fc-form-common)
    • Method Detail

      • isProcessable

        boolean isProcessable​(IXUpload upload)
        Parameters:
        upload - the source upload
        Returns:
        true if the provided upload can be processed by this processor, false if not.
      • process

        IXUpload process​(IXUpload upload,
                         List<String> processingProtocol)
                  throws IOException
        Parameters:
        upload - the upload to be procesed
        processingProtocol - List to add protocol entries (usually i18n keys) while processing the provided upload
        Returns:
        the resulting data
        Throws:
        IOException - in case of I/O errors