Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIXPTLoader Interface Reference

The XPT loader interface: implemented by a loader to grab an input stream which will be consumed by the interface loader. More...

import "nsIXPTLoader.idl";

Inheritance diagram for nsIXPTLoader:
Inheritance graph
[legend]
Collaboration diagram for nsIXPTLoader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void enumerateEntries (in nsILocalFile file, in 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
nsIInputStream loadEntry (in nsILocalFile file, in string name)
 Load a specific entry from the archive.

Detailed Description

The XPT loader interface: implemented by a loader to grab an input stream which will be consumed by the interface loader.

Definition at line 68 of file nsIXPTLoader.idl.


Member Function Documentation

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

Parameters:
filethe file to read from
sinkan object which will be called with each file found in the file

Load a specific entry from the archive.

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

The documentation for this interface was generated from the following file: