Package org.eclipse.rap.fileupload
Class FileUploadReceiver
java.lang.Object
org.eclipse.rap.fileupload.FileUploadReceiver
- Direct Known Subclasses:
DiskFileUploadReceiver
Instances of this interface are responsible for reading and processing the data from a file
upload.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
receive
(InputStream stream, FileDetails details) Reads and processes all data from the provided input stream.
-
Constructor Details
-
FileUploadReceiver
public FileUploadReceiver()
-
-
Method Details
-
receive
Reads and processes all data from the provided input stream.- Parameters:
stream
- the stream to read fromdetails
- the details of the uploaded file like file name, content-type and size- Throws:
IOException
- if an input / output error occurs
-