| Package | org.samchon.library.filetree.file |
| Class | public class FTFile |
| Inheritance | FTFile Entity Object |
| Implements | IFTFile |
| Subclasses | BinaryFile, NTFile, TextFile |
A file.
An abstract class represents a file instance with extension.
| Property | Defined By | ||
|---|---|---|---|
| $label : String [read-only] | FTFile | ||
| key : * [override] [read-only] | FTFile | ||
| LISTENER : String [read-only] | FTFile | ||
| TAG : String [override] [read-only] | FTFile | ||
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| $label | property |
$label:String [read-only] public function get $label():String| comment | property |
protected var comment:String
A comment of attached to the file for description.
| extension | property |
protected var extension:String
An extension of a file.
A candidate identifier of FTFile is composited with name and extension.
| 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.
| FTFile | () | Constructor |
public function FTFile(parent:FTFolder)
Construct from a parent folder.
Parametersparent:FTFolder — A folder to belong the file.
|
| construct | () | method |
override public function construct(xml:XML):voidParameters
xml:XML |
| getComment | () | method |
public function getComment():StringReturnsString |
| getExtension | () | method |
public function getExtension():StringReturnsString |
| getName | () | method |
public function getName():StringReturnsString |
| getParent | () | method |
| getPath | () | method |
public function getPath():StringReturnsString |
| getUID | () | method |
public function getUID():intReturnsint |
| load | () | method |
public function load():void| toInvoke | () | method |
| toXML | () | method |
override public function toXML():XMLReturnsXML |