Packageorg.samchon.library.filetree.file
Classpublic class FTFile
InheritanceFTFile Inheritance Entity Inheritance Object
Implements IFTFile
Subclasses BinaryFile, NTFile, TextFile

A file.

An abstract class represents a file instance with extension.



Public Properties
 PropertyDefined By
  $label : String
[read-only]
FTFile
  key : *
[override] [read-only]
FTFile
  LISTENER : String
[read-only]
FTFile
  TAG : String
[override] [read-only]
FTFile
Protected Properties
 PropertyDefined By
  comment : String
A comment of attached to the file for description.
FTFile
  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
Public Methods
 MethodDefined By
  
Construct from a parent folder.
FTFile
  
construct(xml:XML):void
[override]
FTFile
  
getComment():String
FTFile
  
getExtension():String
FTFile
  
getName():String
FTFile
  
FTFile
  
getPath():String
FTFile
  
getUID():int
FTFile
  
load():void
FTFile
  
FTFile
  
toXML():XML
[override]
FTFile
Property Detail
$labelproperty
$label:String  [read-only]


Implementation
    public function get $label():String
commentproperty 
protected var comment:String

A comment of attached to the file for description.

extensionproperty 
protected var extension:String

An extension of a file.

A candidate identifier of FTFile is composited with name and extension.

keyproperty 
key:*  [read-only] [override]


Implementation
    public function get key():*
LISTENERproperty 
LISTENER:String  [read-only]


Implementation
    public function get LISTENER():String
nameproperty 
protected var name:String

Name of the file.

parentproperty 
protected var parent:FTFolder

Parent folder containing the file.

TAGproperty 
TAG:String  [read-only] [override]


Implementation
    public function get TAG():String
uidproperty 
protected var uid:int

Key, an unique if of the file.

Constructor Detail
FTFile()Constructor
public function FTFile(parent:FTFolder)

Construct from a parent folder.

Parameters
parent:FTFolder — A folder to belong the file.
Method Detail
construct()method
override public function construct(xml:XML):void

Parameters

xml:XML

getComment()method 
public function getComment():String

Returns
String
getExtension()method 
public function getExtension():String

Returns
String
getName()method 
public function getName():String

Returns
String
getParent()method 
public function getParent():FTFolder

Returns
FTFolder
getPath()method 
public function getPath():String

Returns
String
getUID()method 
public function getUID():int

Returns
int
load()method 
public function load():void

toInvoke()method 
public function toInvoke():Invoke

Returns
Invoke
toXML()method 
override public function toXML():XML

Returns
XML