Class VHtml5File


  • @Deprecated
    public class VHtml5File
    extends com.google.gwt.core.client.JavaScriptObject
    Deprecated.
    Since 8.1, will be replaced by FileDropTargetExtensionConnector and FileDropTargetExtension, https://github.com/vaadin/framework/issues/8891
    Wrapper for html5 File object.
    Author:
    Vaadin Ltd
    • Constructor Detail

      • VHtml5File

        protected VHtml5File()
        Deprecated.
        Singleton.
    • Method Detail

      • getName

        public final String getName()
        Deprecated.
        Returns the name value.
        Returns:
        the name
      • getType

        public final String getType()
        Deprecated.
        Returns the type value.
        Returns:
        the type
      • getSize

        public final double getSize()
        Deprecated.
        Browser implementations support files >2GB dropped and report the value as long. Due to JSNI limitations this value needs to be sent as double and then cast back to a long value. www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html#important
        Returns:
        the size