Package | org.samchon.library.filetree.file |
Class | public class FTFile |
Inheritance | FTFile ![]() ![]() |
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):void
Parameters
xml:XML |
getComment | () | method |
public function getComment():String
ReturnsString |
getExtension | () | method |
public function getExtension():String
ReturnsString |
getName | () | method |
public function getName():String
ReturnsString |
getParent | () | method |
getPath | () | method |
public function getPath():String
ReturnsString |
getUID | () | method |
public function getUID():int
Returnsint |
load | () | method |
public function load():void
toInvoke | () | method |
toXML | () | method |
override public function toXML():XML
ReturnsXML |