com.vaadin.client.ui.dd.

Class VHtml5File

  • java.lang.Object
    • com.google.gwt.core.client.JavaScriptObject
      • com.vaadin.client.ui.dd.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 Summary

      Constructors
      Modifier Constructor Description
      protected VHtml5File()

      Deprecated.

      Singleton.

    • Method Summary

      All Methods
      Modifier and Type Method Description
      String getName()

      Deprecated.

      Returns the name value.

      double getSize()

      Deprecated.

      Browser implementations support files >2GB dropped and report the value as long.

      String getType()

      Deprecated.

      Returns the type value.

      • Methods inherited from class com.google.gwt.core.client.JavaScriptObject

        cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
    • 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