public class MemoryBuffer extends Object implements Receiver
Constructor and Description |
---|
MemoryBuffer() |
Modifier and Type | Method and Description |
---|---|
FileData |
getFileData()
Get the file data object.
|
String |
getFileName()
Get the file name for this buffer.
|
InputStream |
getInputStream()
Get the input stream for file with filename.
|
OutputStream |
receiveUpload(String fileName,
String MIMEType)
Invoked when a new upload arrives.
|
public OutputStream receiveUpload(String fileName, String MIMEType)
Receiver
receiveUpload
in interface Receiver
fileName
- the desired filename of the upload, usually as specified by
the client.MIMEType
- the MIME type of the uploaded file.public FileData getFileData()
public String getFileName()
public InputStream getInputStream()
Copyright © 2018. All rights reserved.