Interface IUploadPreProcessor

All Superinterfaces:
org.apache.wicket.util.io.IClusterable, Serializable

public interface IUploadPreProcessor extends org.apache.wicket.util.io.IClusterable
Custom Upload Processor interface. It's used by the CMS editor to perform custom user-defined transformations when a file is uploaded to the system.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(UploadedFile uploadedFile)
    If this interface is implemented, the logic inside this method will be executed before persisting the uploaded file.
  • Method Details

    • process

      void process(UploadedFile uploadedFile)
      If this interface is implemented, the logic inside this method will be executed before persisting the uploaded file. Any modification to the provided UploadedFile object will be persisted