From 23618a1d3c03f147bfe06416cf2bff3b7c287e58 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 27 Dec 2010 10:50:04 +0000 Subject: [PATCH] Added missing javadoc svn changeset:16649/svn branch:6.5 --- src/com/vaadin/ui/Upload.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/com/vaadin/ui/Upload.java b/src/com/vaadin/ui/Upload.java index 23baf14ec2..9023e8ed75 100644 --- a/src/com/vaadin/ui/Upload.java +++ b/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 */ -- 2.39.5