Package asjava.uniclientlibs

Examples of asjava.uniclientlibs.UniString


            parentApplet.appOutput("   UniSelectList.getList(JAVA_DEMO_LIST)\n");
            // load the select list we previously generated
            parentApplet.demoSelect.getList("JAVA_DEMO_LIST");
            parentApplet.appOutput("   UniSelectList.readList()\n");
            // read the list into a string and then output it
            UniString result = parentApplet.demoSelect.readList();
            parentApplet.appOutput("   " + result.toString() + "\n");
            UniDynArray dynResult = new UniDynArray(result);
            parentApplet.appOutput("   The English version!\n");
            // output the select list in a formatted form
            for (int i = 0; i < dynResult.count(); i++) {
               parentApplet.appOutput("    " + dynResult.extract(i).toString() + ",");
View Full Code Here


            parentApplet.appOutput("   UniSelectList.next()\n");
            parentApplet.appOutput("   UniFile.read(Record ID)\n");
            // list the entire contents of the file
            // read first recordID
            UniString recordID = parentApplet.demoSelect.next();
            while (!parentApplet.demoSelect.isLastRecordRead()) {
               UniString record = demoFile.read(recordID);
               parentApplet.appOutput(demoFile.getRecordID() + "\t" + demoFile.getRecord() + "\n");
               // read next record ID
               recordID = parentApplet.demoSelect.next();
            }
            // Close the file we opened
View Full Code Here

TOP

Related Classes of asjava.uniclientlibs.UniString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.