Procházet zdrojové kódy

Added missing javadoc

svn changeset:16649/svn branch:6.5
tags/6.7.0.beta1
Artur Signell před 13 roky
rodič
revize
23618a1d3c
1 změnil soubory, kde provedl 13 přidání a 1 odebrání
  1. 13
    1
      src/com/vaadin/ui/Upload.java

+ 13
- 1
src/com/vaadin/ui/Upload.java Zobrazit soubor

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

Načítá se…
Zrušit
Uložit