We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.upload.
Class StartedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<Upload>
-
- com.vaadin.flow.component.upload.StartedEvent
-
All Implemented Interfaces:
public class StartedEvent extends ComponentEvent<Upload>
Upload.StartedEvent event is sent when the upload is started to received.
Author:
Vaadin Ltd.
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor and Description StartedEvent(Upload source, String filename, String MIMEType, long contentLength)
-
Method Summary
All Methods Modifier and Type Method and Description long
getContentLength()
String
getFileName()
Gets the file name.
String
getMIMEType()
Gets the MIME Type of the file.
Upload
getUpload()
Uploads where the event occurred.
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Method Detail
-
getUpload
public Upload getUpload()
Uploads where the event occurred.
Returns:
the Source of the event.
-
getFileName
public String getFileName()
Gets the file name.
Returns:
the filename.
-
getMIMEType
public String getMIMEType()
Gets the MIME Type of the file.
Returns:
the MIME type.
-
getContentLength
public long getContentLength()
Returns:
the length of the file that is being uploaded
-
-