Packageorg.samchon.library.filetree.file
Classpublic class BinaryFile
InheritanceBinaryFile Inheritance FTFile Inheritance Entity Inheritance Object

A binary file.

A file having data as binary.



Public Properties
 PropertyDefined By
 Inherited$label : String
[read-only]
FTFile
 Inheritedkey : *
[override] [read-only]
FTFile
  LISTENER : String
[override] [read-only]
BinaryFile
 InheritedTAG : String
[override] [read-only]
FTFile
Protected Properties
 PropertyDefined By
 Inheritedcomment : String
A comment of attached to the file for description.
FTFile
  data : ByteArray
Binary data of the file
BinaryFile
 Inheritedextension : String
An extension of a file.
FTFile
 Inheritedname : String
Name of the file.
FTFile
 Inheritedparent : FTFolder
Parent folder containing the file.
FTFile
 Inheriteduid : int
Key, an unique if of the file.
FTFile
Public Methods
 MethodDefined By
  
BinaryFile
 Inherited
construct(xml:XML):void
[override]
FTFile
 Inherited
getComment():String
FTFile
  
getData():ByteArray
Get binary data of the file.
BinaryFile
 Inherited
getExtension():String
FTFile
 Inherited
getName():String
FTFile
 Inherited
FTFile
 Inherited
getPath():String
FTFile
 Inherited
getUID():int
FTFile
 Inherited
load():void
FTFile
  
setData(val:ByteArray):void
Set binary data.
BinaryFile
 Inherited
FTFile
 Inherited
toXML():XML
[override]
FTFile
Property Detail
dataproperty
protected var data:ByteArray

Binary data of the file

LISTENERproperty 
LISTENER:String  [read-only] [override]


Implementation
    public function get LISTENER():String
Constructor Detail
BinaryFile()Constructor
public function BinaryFile(parent:FTFolder)

Parameters
parent:FTFolder
Method Detail
getData()method
public function getData():ByteArray

Get binary data of the file.

Returns
ByteArray
setData()method 
public function setData(val:ByteArray):void

Set binary data.

Parameters

val:ByteArray