📄 fileupload.java
字号:
/* Fileupload.java{{IS_NOTE Purpose: Description: History: Thu Nov 24 15:11:04 2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zhtml;import org.zkoss.util.media.Media;import org.zkoss.zk.ui.UiException;/** * A fileupload dialog used to let user upload a file. * * <p>You don't create {@link Fileupload} directly. Rather, use {@link #get()} * or {@link #get(String, String)}. * * <p>A non-XHTML extension. * * @author tomyeh */public class Fileupload { /** Opens a modal dialog with the default message and title, * and let user upload a file. * @return the uploaded content, or null if not ready. */ public static Media get() throws InterruptedException { return get(null, null); } /** Opens a modal dialog with the specified message and title, * and let user upload a file. * * @param message the message. If null, the default is used. * @param title the title. If null, the default is used. * @return the uploaded content, or null if not ready. */ public static Media get(String message, String title) throws InterruptedException { return org.zkoss.zul.Fileupload.get(message, title); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -