Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIUnicharStreamLoader Interface Reference

import "nsIUnicharStreamLoader.idl";

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

List of all members.

Public Member Functions

void init (in nsIChannel aChannel, in nsIUnicharStreamLoaderObserver aObserver, in nsISupports aContext, in unsigned long aSegmentSize)
 Initializes the unichar stream loader.

Public Attributes

const unsigned long DEFAULT_SEGMENT_SIZE = 4096
readonly attribute nsIChannel channel
 The channel attribute is only valid inside the onDetermineCharset and onStreamComplete callbacks.
readonly attribute ACString charset
 The charset that onDetermineCharset returned, if that's been called.

Detailed Description

Definition at line 79 of file nsIUnicharStreamLoader.idl.


Member Function Documentation

void nsIUnicharStreamLoader::init ( in nsIChannel  aChannel,
in nsIUnicharStreamLoaderObserver  aObserver,
in nsISupports  aContext,
in unsigned long  aSegmentSize 
)

Initializes the unichar stream loader.

Parameters:
aChannelthe channel to read data from. This should not be opened; the loader will open the channel itself.
aObserverthe observer to notify when a charset is needed and when the load is complete
aContextan opaque context pointer
aSegmentSizethe size of the segments to use for the data, in bytes

Member Data Documentation

The channel attribute is only valid inside the onDetermineCharset and onStreamComplete callbacks.

Otherwise it will be null.

Definition at line 103 of file nsIUnicharStreamLoader.idl.

The charset that onDetermineCharset returned, if that's been called.

Definition at line 109 of file nsIUnicharStreamLoader.idl.

Definition at line 81 of file nsIUnicharStreamLoader.idl.


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