Package | org.samchon.library.filetree.file |
Class | public class BinaryFile |
Inheritance | BinaryFile ![]() ![]() ![]() |
A binary file.
A file having data as binary.
Property | Defined By | ||
---|---|---|---|
![]() | $label : String [read-only] | FTFile | |
![]() | key : * [override] [read-only] | FTFile | |
LISTENER : String [override] [read-only] | BinaryFile | ||
![]() | TAG : String [override] [read-only] | FTFile |
Property | Defined By | ||
---|---|---|---|
![]() | comment : String
A comment of attached to the file for description. | FTFile | |
data : ByteArray
Binary data of the file
| BinaryFile | ||
![]() | extension : String
An extension of a file. | FTFile | |
![]() | name : String
Name of the file. | FTFile | |
![]() | parent : FTFolder
Parent folder containing the file. | FTFile | |
![]() | uid : int
Key, an unique if of the file. | FTFile |
Method | Defined By | ||
---|---|---|---|
BinaryFile(parent:FTFolder) | BinaryFile | ||
![]() | construct(xml:XML):void [override] | FTFile | |
![]() | getComment():String | FTFile | |
getData():ByteArray
Get binary data of the file. | BinaryFile | ||
![]() | getExtension():String | FTFile | |
![]() | getName():String | FTFile | |
![]() | FTFile | ||
![]() | getPath():String | FTFile | |
![]() | getUID():int | FTFile | |
![]() | load():void | FTFile | |
setData(val:ByteArray):void
Set binary data. | BinaryFile | ||
![]() | FTFile | ||
![]() | toXML():XML [override] | FTFile |
data | property |
protected var data:ByteArray
Binary data of the file
LISTENER | property |
LISTENER:String
[read-only] [override] public function get LISTENER():String
BinaryFile | () | Constructor |
getData | () | method |
public function getData():ByteArray
Get binary data of the file.
ReturnsByteArray |
setData | () | method |
public function setData(val:ByteArray):void
Set binary data.
Parameters
val:ByteArray |