| Package | org.samchon.library.filetree.file |
| Class | public class TextFile |
| Inheritance | TextFile FTFile Entity Object |
A text file.
A file having data as text.
| Property | Defined By | ||
|---|---|---|---|
![]() | $label : String [read-only] | FTFile | |
![]() | key : * [override] [read-only] | FTFile | |
| LISTENER : String [override] [read-only] | TextFile | ||
![]() | TAG : String [override] [read-only] | FTFile | |
| Property | Defined By | ||
|---|---|---|---|
![]() | comment : String
A comment of attached to the file for description. | FTFile | |
| data : String
Text data recorded in the file. | TextFile | ||
![]() | 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 | ||
|---|---|---|---|
| TextFile | |||
construct(xml:XML):void [override] | TextFile | ||
![]() | getComment():String | FTFile | |
getData():String
Get text data of the file. | TextFile | ||
![]() | getExtension():String | FTFile | |
![]() | getName():String | FTFile | |
![]() | FTFile | ||
![]() | getPath():String | FTFile | |
![]() | getUID():int | FTFile | |
![]() | load():void | FTFile | |
setData(val:String):void
Set text data. | TextFile | ||
[override] | TextFile | ||
toXML():XML [override] | TextFile | ||
| data | property |
protected var data:String
Text data recorded in the file.
| LISTENER | property |
LISTENER:String [read-only] [override] public function get LISTENER():String| TextFile | () | Constructor |
| construct | () | method |
override public function construct(xml:XML):voidParameters
xml:XML |
| getData | () | method |
public function getData():String
Get text data of the file.
ReturnsString |
| setData | () | method |
public function setData(val:String):void
Set text data.
Parameters
val:String |
| toInvoke | () | method |
| toXML | () | method |
override public function toXML():XMLReturnsXML |