Class org.as2lib.io.file.SimpleTextFileFactory

Implemented Interfaces

TextFileFactory

Description

SimpleTextFileFactory is a implementation of TextFileFactory for creating SimpleTextFile instances.

Method Index

createTextFile()

Inherited from BasicClass

Method Detail

createTextFile

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

Creates a new SimpleTextFile instance for the loaded resource.

Parameters

sourcecontent of the TextFile to create
sizesize in Byte of the loaded resource
urilocation of the loaded resource

Return

SimpleTextFile that represents the resource

Specified By

createTextFile() in org.as2lib.io.file.TextFileFactory