TextFile Class
Text file resource can be used to store data or code.
Text file data can be used to store information to be consumend by the application or runtime code that can be imported by scripts.
Item Index
Methods
- fileIsText static
- toJSON
Methods
fileIsText
(
Boolean
static
-
file
Check if a file name refers to a text file.
Parameters:
-
file
File
Returns:
Boolean:
True if the file is text.
toJSON
(
Object
-
meta
Serialize File resource data to json.
Parameters:
-
meta
Meta
Returns:
Object:
data