Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Returns a (possibly shared) nsIZipReader for an nsIFile.
If the zip reader for given file is not in the cache, a new zip reader is created, initialized, and opened (see nsIZipReader::init and nsIZipReader::open). Otherwise the previously created zip reader is returned.
If someone called close() on the shared nsIZipReader, this method will return the closed zip reader.
Like getZip(), returns a (possibly shared) nsIZipReader for an nsIFile, but if a zip reader for the given file is not in the cache, returns error NS_ERROR_CACHE_KEY_NOT_FOUND rather than creating a new reader.
If someone called close() on the shared nsIZipReader, this method will return the closed zip reader.
Initializes a new zip reader cache.
the number of released entries to maintain before beginning to throw some out (note that the number of outstanding entries can be much greater than this number -- this is the count for those otherwise unused entries)
Generated using TypeDoc
Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.
Returns
The resulting reference count.