API Docs for: 0.99.4
Show:

JXG.Util.Unzip Class

Defined in: src/utils/zip.js:120
Module: JXG

Unzip class

Class for gunzipping, unzipping and base64 decoding of files. It is used for reading GEONExT, Geogebra and Intergeo files.

Only Huffman codes are decoded in gunzip. The code is based on the source code for gunzip.c by Pasi Ojala

Item Index

Methods

Methods

unzip

() String

Extract next file from zip archive.

Returns:

String:

File as string (usually base64 encoded)

unzipFile

(
  • name
)
String

Extract file given by name from zip archive.

Parameters:

  • name String

    File name of file in zip archhive

Returns:

String:

File as string (usually base64 encoded)