org.millstone.base.ui
Interface Upload.Receiver

Enclosing interface:
Upload

public static interface Upload.Receiver

Interface that must be implemented by the upload receivers.

Since:
3.0
Version:
3.0.3
Author:
IT Mill Ltd.

Method Summary
 java.io.OutputStream receiveUpload(java.lang.String filename, java.lang.String MIMEType)
          Invoked when a new upload arrives.
 

Method Detail

receiveUpload

public java.io.OutputStream receiveUpload(java.lang.String filename,
                                          java.lang.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,2001,2002 IT Mill Ltd. All Rights Reserved.