Class IO.File

represents a file in the filesystem

Constructors

File(string name)

Methods

bool exists()

returns true if the file exists in the filesystem

bool isFolder()

returns true if the file is a folder

string readAll()

reads the entire contents of the file into a string

integer size()

returns the size of the file

Method Documentation

bool exists()

returns true if the file exists in the filesystem

bool isFolder()

returns true if the file is a folder

string readAll()

reads the entire contents of the file into a string

integer size()

returns the size of the file



Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.