TextFileFactory
is a integration layer for org.as2lib.util.TextFileLoader.
TextFileLoader
applies the loaded resource to TextFileFactory
property. The implementations of TextFileLoader
can variy the result of
the loaded file.
public function createTextFile(source:String, size:Byte, uri:String):TextFile
Creates a new TextFile
instance for the loaded resource.
source | content of the TextFile to create
|
size | size in Byte of the loaded resource |
uri | URI that has been loaded |
TextFile
that represents the resource