Class Index | File Index

Classes


Class ZIPTools


Defined in: URLContent.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZIP reading utilities.
Method Summary
Method Attributes Method Name and Description
<static>  
ZIPTools.clear()
Clears cache and aborts running requests.
<static>  
ZIPTools.disposeZIP(url)
Removes from cache the content matching the given url.
<static>  
ZIPTools.getZIP(url, synchronous, zipObserver)
Reads the ZIP data in the given URL.
Class Detail
ZIPTools()
ZIP reading utilities.
Author: Emmanuel Puybaret.
Method Detail
<static> ZIPTools.clear()
Clears cache and aborts running requests.

<static> ZIPTools.disposeZIP(url)
Removes from cache the content matching the given url.
Parameters:
url

<static> ZIPTools.getZIP(url, synchronous, zipObserver)
Reads the ZIP data in the given URL.
Parameters:
{string} url
the URL of a zip file containing an OBJ entry that will be loaded or an URL noted as jar:url!/objEntry where objEntry will be loaded.
{boolean} synchronous Optional
optional parameter equal to false by default
{{zipReady|zipError|progression}} zipObserver
An observer containing zipReady(zip), zipError(error), progression(part, info, percentage) methods that will called at various phases.

© Copyright 2024 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License
Documentation generated by JsDoc Toolkit 2.4.0 on Thu Apr 04 2024 17:30:27 GMT+0200 (CEST)