public static class CubaFileUpload.FinishedEvent
extends com.vaadin.ui.Component.Event
Constructor and Description |
---|
FinishedEvent(CubaFileUpload source,
java.lang.String fileName,
java.lang.String MIMEType,
long contentLength) |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength()
Gets the contentLength of the file.
|
java.lang.String |
getFileName()
Gets the file name.
|
java.lang.String |
getMIMEType()
Gets the MIME Type of the file.
|
CubaFileUpload |
getUpload()
Uploads where the event occurred.
|
public FinishedEvent(CubaFileUpload source, java.lang.String fileName, java.lang.String MIMEType, long contentLength)
source
- the source of the file.fileName
- the received file name.MIMEType
- the MIME type of the received file.contentLength
- the contentLength of the received file.public CubaFileUpload getUpload()
public java.lang.String getFileName()
public java.lang.String getMIMEType()
public long getContentLength()