Back to index

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

import "nsIStringBundle.idl";

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

List of all members.

Public Member Functions

nsIStringBundle createBundle (in string aURLSpec)
nsIStringBundle createExtensibleBundle (in string aRegistryKey)
wstring formatStatusMessage (in nsresult aStatus, in wstring aStatusArg)
 Formats a message string from a status code and status arguments.
void flushBundles ()
 flushes the string bundle cache - useful when the locale changes or when we need to get some extra memory back

Detailed Description

Definition at line 85 of file nsIStringBundle.idl.


Member Function Documentation

flushes the string bundle cache - useful when the locale changes or when we need to get some extra memory back

at some point, we might want to make this flush all the bundles, because any bundles that are floating around when the locale changes will suddenly contain bad data

wstring nsIStringBundleService::formatStatusMessage ( in nsresult  aStatus,
in wstring  aStatusArg 
)

Formats a message string from a status code and status arguments.

Parameters:
aStatus- The status code. This is mapped into a string ID and and used in the string lookup process (see nsIErrorService).
aStatusArg- The status message argument(s). Multiple arguments can be separated by newline ('
') characters.
Returns:
the formatted message

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