Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: zip_module

[23:14] static extends: object

Module JAR loader class.

Methods

  • zip_module ()

class: zip

[32:14] (extern: com.lehman.aussom.AussomZip) extends: object

The zip object implements zip file compression and decompression.

Methods

  • zip ()

  • newZip ()

  • addEntry (string FileNameInZip, object BufferData = null)

    Adds a new entry with the provided binary data to the zip object.

    • @p FileNameInZip is a string with the file name in the zip.
    • @p BufferData is a Buffer object with the data to store.
    • @r This object.
  • setBuffer (object BufferData)

    Sets the zip object Buffer with the data provided.

    • @p BufferData is a Buffer object to set.
    • @r This object.
  • getBuffer ()

    Gets a Buffer object with the zip binary data.

    • @r A Buffer object with the data.
  • getEntries ()

    Returns a list of strings with the names of the entries.

    • @r A list of strings with the entries.
  • getEntry (string FileNameInZip)

    Gets Buffer object of the entry with the provided file name.

    • @r A Buffer object with the entry.