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

      All Methods Instance Methods Abstract Methods 
      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 Detail

      • 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
        Parameters:
        uploadedFile -