Packageardisia.components.htmlDragDrop.data
Classpublic class HtmlDragDropFile
InheritanceHtmlDragDropFile Inheritance Object

Stores the relevant properties of a HTML5 File Object.



Public Properties
 PropertyDefined By
  data : ByteArray
The file's data in ByteArray format.
HtmlDragDropFile
  lastModifiedDate : Date
The date the file was last modified.
HtmlDragDropFile
  name : String
The file's name.
HtmlDragDropFile
  size : Number
The file's size in bytes.
HtmlDragDropFile
  type : String
The file's mime type.
HtmlDragDropFile
Public Methods
 MethodDefined By
  
HtmlDragDropFile(name:String = null, size:Number, type:String = null, lastModifiedDate:Date = null)
HtmlDragDropFile
Property Detail
dataproperty
public var data:ByteArray

The file's data in ByteArray format.

The default value is null.

lastModifiedDateproperty 
public var lastModifiedDate:Date

The date the file was last modified.

The default value is null.

nameproperty 
public var name:String

The file's name.

The default value is null.

sizeproperty 
public var size:Number

The file's size in bytes.

The default value is null.

typeproperty 
public var type:String

The file's mime type.

The default value is null.

Constructor Detail
HtmlDragDropFile()Constructor
public function HtmlDragDropFile(name:String = null, size:Number, type:String = null, lastModifiedDate:Date = null)



Parameters
name:String (default = null)
 
size:Number (default = NaN)
 
type:String (default = null)
 
lastModifiedDate:Date (default = null)