Interface org.as2lib.io.file.TextFileFactory

Description

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.

Method Index

createTextFile()

Inherited from BasicInterface

Method Detail

createTextFile

public function createTextFile(source:String, size:Byte, uri:String):TextFile

Creates a new TextFile instance for the loaded resource.

Parameters

sourcecontent of the TextFile to create
sizesize in Byte of the loaded resource
uriURI that has been loaded

Return

TextFile that represents the resource