com.vaadin.ui
Interface Upload.Receiver
- All Superinterfaces:
- Serializable
- Enclosing class:
- Upload
public static interface Upload.Receiver
- extends Serializable
Interface that must be implemented by the upload receivers to provide the
Upload component an output stream to write the uploaded data.
- Since:
- 3.0
- Version:
- 6.3.3
- Author:
- IT Mill Ltd.
receiveUpload
OutputStream receiveUpload(String filename,
String MIMEType)
- Invoked when a new upload arrives.
- Parameters:
filename
- the desired filename of the upload, usually as specified
by the client.MIMEType
- the MIME type of the uploaded file.
- Returns:
- Stream to which the uploaded file should be written.
Copyright © 2000-2010 IT Mill Ltd. All Rights Reserved.