public class UploadUtil extends Object
| Constructor and Description |
|---|
UploadUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
restrictMIMEType(org.zkoss.util.media.Media media)
check if the MIMETYPE of the media file uploaded falls under restrictedMIMETypes or not
|
static void |
restrictMIMEType(org.zkoss.zk.ui.event.UploadEvent event)
check if the MIMETYPE of the media file uploaded falls under restrictedMIMETypes or not
|
public static void restrictMIMEType(org.zkoss.zk.ui.event.UploadEvent event)
event - event object which encapsulates the uploadeventpublic static void restrictMIMEType(org.zkoss.util.media.Media media)
media - MIMETYPE of the uploaded media fileCopyright © 2019 Hyland Software Germany GmbH. All rights reserved.