Global.helma.Zip.list ()
returns an array containing the entries of a .zip file as objects (see Entry for description)

  • Parameter Object:
    File object representing the .zip file on disk
  • Returns
    Object result object
Sourcecode in /home/hannes/helma/modules/helma/Zip.js:
137:   this.list = function() {
138:           var result = new helma.Zip.Content();
139:           var zFile = new java.util.zip.ZipFile(file);
140:           var entries = zFile.entries();
141:           while (entries.hasMoreElements())
142:               result.add(new helma.Zip.Entry(entries.nextElement()));
143:           zFile.close();
144:           return result;
145:       }