Package de.xima.fc.form.common.upload
Interface IUploadPostProcessor
-
public interface IUploadPostProcessor
(Workaround to enable the postprocessing of uploads outside of fc-form-common)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isProcessable(IXUpload upload)
IXUpload
process(IXUpload upload, List<String> processingProtocol)
-
-
-
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 procesedprocessingProtocol
- 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
-
-