hello = function () { include('options.js'); // Instanciation Packages.java.lang.System.out.println(""); var options = new Options(authorAccess, 'hello', 3); Packages.java.lang.System.out.println(""); options.setSystemId(null, 2); Packages.java.lang.System.out.println(""); options.setSystemIdOption('Hello', 'aligator'); options.setSystemIdOption('See you later', 'World'); var myOptions = options.getSystemIdOptions(); for (var key in myOptions) { var value = myOptions[key]; Packages.java.lang.System.out.println(key + ' ' + value); } // Display some file specific properties Packages.java.lang.System.out.println('options.systemId: ' + options.systemId); Packages.java.lang.System.out.println('options.systemIdDigest: ' + options.systemIdDigest); Packages.java.lang.System.out.println(""); var options = new Options(authorAccess, 'hello2', 20); Packages.java.lang.System.out.println(""); // Delete options // Packages.java.lang.System.out.println('Deleting options'); // options.deleteOption ('Hello'); // options.deleteOption ('See you later'); // myOptions = options.getOptions(); // for (var key in myOptions) { // var value = myOptions[key]; // Packages.java.lang.System.out.println(key + ' ' + value); // } }