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.

@mozilla.org/uriloader/external-protocol-service;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsIExternalHelperAppService PRBool applyDecodingForExtension ( AUTF8String extension , ACString encodingType )
nsPIExternalAppLauncher void deleteTemporaryFileOnExit ( nsIFile temporaryFile )
nsIExternalHelperAppService nsIStreamListener doContent ( ACString mimeContentType , nsIRequest request , nsIInterfaceRequestor windowContext )
nsIExternalProtocolService PRBool externalProtocolHandlerExists ( char* protocolScheme )
nsIExternalProtocolService AString getApplicationDescription ( AUTF8String scheme )
nsIMIMEService nsIMIMEInfo getFromTypeAndExtension ( ACString MIMEType , AUTF8String fileExt )
nsIMIMEService AUTF8String getPrimaryExtension ( ACString MIMEType , AUTF8String fileExt )
nsIExternalProtocolService nsIHandlerInfo getProtocolHandlerInfo ( ACString protocolScheme )
nsIMIMEService ACString getTypeFromExtension ( AUTF8String fileExt )
nsIMIMEService ACString getTypeFromFile ( nsIFile file )
nsIMIMEService ACString getTypeFromURI ( nsIURI URI )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIExternalProtocolService PRBool isExposedProtocol ( char* protocolScheme )
nsIExternalProtocolService void loadURI ( nsIURI URI , nsIInterfaceRequestor windowContext )
nsIExternalProtocolService void loadUrl ( nsIURI URL )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com