瀏覽代碼

Added missing javadoc

svn changeset:16649/svn branch:6.5
tags/6.7.0.beta1
Artur Signell 13 年之前
父節點
當前提交
23618a1d3c
共有 1 個檔案被更改,包括 13 行新增1 行删除
  1. 13
    1
      src/com/vaadin/ui/Upload.java

+ 13
- 1
src/com/vaadin/ui/Upload.java 查看文件

@@ -174,7 +174,19 @@ public class Upload extends AbstractComponent implements Component.Focusable {
* @since 3.0
*/
public interface Receiver extends Serializable {
public OutputStream receiveUpload(String filename, String mimetype);

/**
* Invoked when a new upload arrives.
*
* @param filename
* the desired filename of the upload, usually as specified
* by the client.
* @param mimeType
* the MIME type of the uploaded file.
* @return Stream to which the uploaded file should be written.
*/
public OutputStream receiveUpload(String filename, String mimeType);

}

/* Upload events */

Loading…
取消
儲存