public class FinishedEvent extends ComponentEvent<Upload>
source
Constructor and Description |
---|
FinishedEvent(Upload source,
String fileName,
String mimeType,
long length)
Create an instance of the event.
|
Modifier and Type | Method and Description |
---|---|
long |
getContentLength()
Get the length of the file.
|
String |
getFileName()
Get the file name.
|
String |
getMIMEType()
Get the MIME Type of the file.
|
Upload |
getUpload()
Upload where the event occurred.
|
getSource, isFromClient, unregisterListener
toString
public Upload getUpload()
public String getFileName()
public String getMIMEType()
public long getContentLength()
Copyright © 2019. All rights reserved.