Access keys

TextFileFactory

Kind of class: interface
Inherits from: BasicInterface
Implemented by:
Version: 1.0
Author: Martin Heidegger
Classpath: org.as2lib.io.file.TextFileFactory
File last modified: Wednesday, 12 October 2005, 19:02:22
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.

Summary

Instance methods
Instance methods inherited from BasicInterface

Instance methods

createTextFile

function createTextFile (
source:String, size:Byte, uri:String) : TextFile
Creates a new TextFile instance for the loaded resource.
Parameters:
source:
content of the TextFile to create
size :
size in org.as2lib.data.type.Byte of the loaded resource
uri :
URI that has been loaded
Returns:
TextFile that represents the resource