readAll
Reads the whole content of the opened file.
The readAll class reads the whole content of the opened file.
readAll | |
---|---|
Syntax | fileObj.readAll(); |
Parameter | None |
Return Value |
(String)
whole contents of the file
|
Remarks | None |
Example |
var fileSystemObj = new FileSystem();
var fileObj = fileSystemObj.openCommonFile(curWidget.id + '/testFile.data', 'r');
var strResult = fileObj.readAll();
alert(strResult);
|
Enumeration | None |