Packageorg.samchon.library.filetree.file
Classpublic class TextFile
InheritanceTextFile Inheritance FTFile Inheritance Entity Inheritance Object

A text file.

A file having data as text.



Public Properties
 PropertyDefined By
 Inherited$label : String
[read-only]
FTFile
 Inheritedkey : *
[override] [read-only]
FTFile
  LISTENER : String
[override] [read-only]
TextFile
 InheritedTAG : String
[override] [read-only]
FTFile
Protected Properties
 PropertyDefined By
 Inheritedcomment : String
A comment of attached to the file for description.
FTFile
  data : String
Text data recorded in the file.
TextFile
 Inheritedextension : String
An extension of a file.
FTFile
 Inheritedname : String
Name of the file.
FTFile
 Inheritedparent : FTFolder
Parent folder containing the file.
FTFile
 Inheriteduid : int
Key, an unique if of the file.
FTFile
Public Methods
 MethodDefined By
  
TextFile
  
construct(xml:XML):void
[override]
TextFile
 Inherited
getComment():String
FTFile
  
getData():String
Get text data of the file.
TextFile
 Inherited
getExtension():String
FTFile
 Inherited
getName():String
FTFile
 Inherited
FTFile
 Inherited
getPath():String
FTFile
 Inherited
getUID():int
FTFile
 Inherited
load():void
FTFile
  
setData(val:String):void
Set text data.
TextFile
  
[override]
TextFile
  
toXML():XML
[override]
TextFile
Property Detail
dataproperty
protected var data:String

Text data recorded in the file.

LISTENERproperty 
LISTENER:String  [read-only] [override]


Implementation
    public function get LISTENER():String
Constructor Detail
TextFile()Constructor
public function TextFile(parent:FTFolder)

Parameters
parent:FTFolder
Method Detail
construct()method
override public function construct(xml:XML):void

Parameters

xml:XML

getData()method 
public function getData():String

Get text data of the file.

Returns
String
setData()method 
public function setData(val:String):void

Set text data.

Parameters

val:String

toInvoke()method 
override public function toInvoke():Invoke

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

Returns
XML