Package org.zkoss.zk.ui.ext
Class Uploads
java.lang.Object
org.zkoss.zk.ui.ext.Uploads
Utilities to handle the upload (
Uploadable).- Since:
- 8.6.2
- Author:
- rudyhuang
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetRealUpload(Component comp, String upload) Gets the real upload setting for client.static voidparseUpload(Component comp, String upload) Parse the setting and update the upload-related attributes with the component.
-
Method Details
-
parseUpload
Parse the setting and update the upload-related attributes with the component.- Parameters:
comp- this componentupload- upload setting
-
getRealUpload
Gets the real upload setting for client. It would append the default maxsize in webapp configuration if none was given.- Parameters:
comp- this componentupload- upload setting- Returns:
- upload setting (could be altered)
-