TextFileFactory
SimpleTextFileFactory
is a implementation of TextFileFactory for
creating SimpleTextFile
instances.
public function createTextFile(source:String, size:Byte, uri:String):TextFile
Creates a new SimpleTextFile
instance for the loaded resource.
source | content of the TextFile to create
|
size | size in Byte of the loaded resource |
uri | location of the loaded resource |
SimpleTextFile
that represents the resource