nsIUnicharStreamLoaderObserver

IID:e06e8b08-8cdd-4503-a0a0-6f3b943602af
Inherits From:nsISupports

Methods

ACString onDetermineCharset ( nsIUnicharStreamLoader loader , nsISupports context , char* firstSegment , PRUint32 length ) void onStreamComplete ( nsIUnicharStreamLoader loader , nsISupports context , nsresult status , nsIUnicharInputStream unicharData )

ACString onDetermineCharset ( nsIUnicharStreamLoader loader , nsISupports context , char* firstSegment , PRUint32 length )

Called when the first full segment of data if available.

Arguments:
loader: the unichar stream loader
context: the context parameter passed to the loader's init method
firstSegment: the raw bytes of the first full data segment
length: the length of firstSegment
Returns:
charset corresponding to this stream

void onStreamComplete ( nsIUnicharStreamLoader loader , nsISupports context , nsresult status , nsIUnicharInputStream unicharData )

Called when the entire stream has been loaded.

Arguments:
loader: the unichar stream loader
context: the context parameter passed to the loader's init method
status: the status of the underlying channel
unicharData: the unichar input stream containing the data. This can be null in some failure conditions.

References

This interface is passed as an argument to the following methods:

nsIUnicharStreamLoader.init

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com