Class ZIPTools
Defined in: URLContent.js.
Constructor Attributes | Constructor Name and Description |
---|---|
ZIPTools()
ZIP reading utilities.
|
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.
|
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.