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.

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.

Copyright © 1999-2006 XULPlanet.com