Class Uploads

java.lang.Object
org.zkoss.zk.ui.ext.Uploads

public class Uploads extends Object
Utilities to handle the upload (Uploadable).
Since:
8.6.2
Author:
rudyhuang
  • Method Details

    • parseUpload

      public static void parseUpload(Component comp, String upload)
      Parse the setting and update the upload-related attributes with the component.
      Parameters:
      comp - this component
      upload - upload setting
    • getRealUpload

      public static String getRealUpload(Component comp, String upload)
      Gets the real upload setting for client. It would append the default maxsize in webapp configuration if none was given.
      Parameters:
      comp - this component
      upload - upload setting
      Returns:
      upload setting (could be altered)