function TextFile(data, encoding)
{
	Resource.call(this, "text", "TextFile");

	this.format = "string";
	this.encoding = encoding !== undefined ? encoding : "txt";
	this.data = data !== undefined ? data : "";
}
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.

@class TextFile
@extends {Resource}
@module Resources