Browse Source

Added missing javadoc

svn changeset:16649/svn branch:6.5
tags/6.7.0.beta1
Artur Signell 13 years ago
parent
commit
23618a1d3c
1 changed files with 13 additions and 1 deletions
  1. 13
    1
      src/com/vaadin/ui/Upload.java

+ 13
- 1
src/com/vaadin/ui/Upload.java View File

@@ -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…
Cancel
Save