nsIXPTLoader

IID:368A15D9-17A9-4c2b-AC3D-A35B3A22B876
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void enumerateEntries ( nsILocalFile file , nsIXPTLoaderSink sink ) nsIInputStream loadEntry ( nsILocalFile file , char* name )

void enumerateEntries ( nsILocalFile file , nsIXPTLoaderSink sink )

Enumerate entries in the given archive for each entry found, the loader will call the sink's foundEntry() method with the appropriate information and a stream that the consumer can read from

Arguments:
file: the file to read from
sink: an object which will be called with each file found in the file

nsIInputStream loadEntry ( nsILocalFile file , char* name )

Load a specific entry from the archive

Arguments:
file: the file to read from
name: the name of the xpt within the file
Returns:
an input stream that will read the raw xpt data from the file

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com