WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIZipReaderCache
| IID: | 52c45d86-0cc3-11d4-986e-00c04fa0cf4a |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Methods
nsIZipReader getZip ( nsIFile zipFile )
void init ( PRUint32 cacheSize )
nsIZipReader getZip ( nsIFile zipFile )
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.
- Arguments:
- zipFile
void init ( PRUint32 cacheSize )
Initializes a new zip reader cache.
- Arguments:
- cacheSize: - 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)
References
This interface is the type of the following properties:
nsIJARProtocolHandler.JARCache
Reference documentation is generated from Mozilla's source.
