Sha256: 62d5049e7df51bcf0fda9c0a65d7176c003d0b56947d6c1ee62e5cff5d5edc1c
Contents?: true
Size: 714 Bytes
Versions: 28
Compression:
Stored size: 714 Bytes
Contents
class com.asunit.util.TextFile extends XML { public static var linkageId:String = "com.asunit.util.TextFile"; public static var classRef:Function = TextFile; private var source:String; private var callback:Object; private var fileString:String; public function TextFile(src:String, cb:Object) { source = src; callback = cb; ignoreWhite = true; onData = doData; if(src != undefined) { load(source); } } public function doData(str:String):Void { fileString = str; callback.onTextFileLoaded(this); } public function toString():String { return fileString; } public static var serializable:Boolean = Object.registerClass(linkageId, classRef); }
Version data entries
28 entries across 28 versions & 1 rubygems