| Package | org.samchon.library.filetree.file |
| Class | public class FTFolder |
| Inheritance | FTFolder EntityArray mx.collections.ArrayCollection |
| Implements | IFTFile |
A folder.
A folder object has recursive and hierarchical relationship.
Default MXML Propertysource
| Property | Defined By | ||
|---|---|---|---|
| $label : String [read-only] | FTFolder | ||
| CHILD_TAG : String [override] [read-only] | FTFolder | ||
| key : * [override] [read-only] | FTFolder | ||
| LISTENER : String [read-only] | FTFolder | ||
| TAG : String [override] [read-only] | FTFolder | ||
| Property | Defined By | ||
|---|---|---|---|
| comment : String
A comment of attached to the file for description. | FTFolder | ||
| factory : FTFactory
A factory object for creating sub-files. | FTFolder | ||
| name : String
Name of the file. | FTFolder | ||
| parent : FTFolder
Parent folder containing the file. | FTFolder | ||
| uid : int
Key, an unique if of the file. | FTFolder | ||
| Method | Defined By | ||
|---|---|---|---|
Construct from factory and parent folder. | FTFolder | ||
construct(xml:XML):void [override] | FTFolder | ||
createChild(xml:XML):IEntity [override] | FTFolder | ||
![]() | erase(key:*):Boolean | EntityArray | |
getComment():String | FTFolder | ||
getName():String | FTFolder | ||
| FTFolder | |||
getPath():String | FTFolder | ||
getUID():int | FTFolder | ||
![]() | has(key:*):Boolean | EntityArray | |
For merging
| FTFolder | ||
toXML():XML [override] | FTFolder | ||
| $label | property |
$label:String [read-only] public function get $label():String| CHILD_TAG | property |
CHILD_TAG:String [read-only] [override] public function get CHILD_TAG():String| comment | property |
protected var comment:String
A comment of attached to the file for description.
| factory | property |
| key | property |
key:* [read-only] [override] public function get key():*| LISTENER | property |
LISTENER:String [read-only] public function get LISTENER():String| name | property |
protected var name:String
Name of the file.
| parent | property |
| TAG | property |
TAG:String [read-only] [override] public function get TAG():String| uid | property |
protected var uid:int
Key, an unique if of the file.
| FTFolder | () | Constructor |
public function FTFolder(factory:FTFactory, parent:FTFolder)
Construct from factory and parent folder.
Parametersfactory:FTFactory — Factory instance.
| |
parent:FTFolder — A parent folder that this folder is belonged to.
|
| construct | () | method |
override public function construct(xml:XML):voidParameters
xml:XML |
| createChild | () | method |
| getComment | () | method |
public function getComment():StringReturnsString |
| getName | () | method |
public function getName():StringReturnsString |
| getParent | () | method |
| getPath | () | method |
public function getPath():StringReturnsString |
| getUID | () | method |
public function getUID():intReturnsint |
| toInvoke | () | method |
| toXML | () | method |
override public function toXML():XMLReturnsXML |