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.

nsISimpleUnicharStreamFactory

IID:8238cd2e-e8e3-43e8-b556-56e21389c766
Inherits From:nsISupports

Factory to create objects that implement nsIUnicharInputStream, converting from a unicode string or a UTF-8 stream.


Methods

nsIUnicharInputStream createInstanceFromString ( AString string ) nsIUnicharInputStream createInstanceFromUTF8Stream ( nsIInputStream stream )

nsIUnicharInputStream createInstanceFromString ( AString string )

Create a unicode input stream from a unicode string.

Arguments:
string

nsIUnicharInputStream createInstanceFromUTF8Stream ( nsIInputStream stream )

Create a unicode stream from an input stream in UTF8.

Arguments:
stream

Reference documentation is generated from Mozilla's source.