Parcourir la source

Added missing javadoc

svn changeset:16649/svn branch:6.5
tags/6.7.0.beta1
Artur Signell il y a 13 ans
Parent
révision
23618a1d3c
1 fichiers modifiés avec 13 ajouts et 1 suppressions
  1. 13
    1
      src/com/vaadin/ui/Upload.java

+ 13
- 1
src/com/vaadin/ui/Upload.java Voir le fichier

@@ -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 */

Chargement…
Annuler
Enregistrer