FileDocCategorySizeDatePackage
LocaleUtilities.javaAPI DocAzureus 3.0.3.42175Fri Aug 31 16:59:30 BST 2007org.gudy.azureus2.plugins.utils

LocaleUtilities

public interface LocaleUtilities
author
parg

Fields Summary
Constructors Summary
Methods Summary
public voidaddListener(LocaleListener l)

public java.util.LocalegetCurrentLocale()
Returns the current locale being used.

since
3.0.0.9

public LocaleDecoder[]getDecoders()

public java.lang.StringgetLocalisedMessageText(java.lang.String key)

public java.lang.StringgetLocalisedMessageText(java.lang.String key, java.lang.String[] params)

public voidintegrateLocalisedMessageBundle(java.lang.String resource_bundle_prefix)
Allows programatic registration of plugin messages, as opposed to using the plugin.langfile property in plugin.properties If you message base file is, say, a.b.c.Messages.properties, pass a.b.c.Messages

param
resource_bundle_prefix

public voidintegrateLocalisedMessageBundle(java.util.ResourceBundle rb)
Allows plugins to dynamically pass in a resource bundle to be used for message text translation.

since
3.0.2.3

public voidintegrateLocalisedMessageBundle(java.util.Properties p)
Allows plugins to dynamically pass in a properties object to be used for message text translation.

since
3.0.2.3

public voidremoveListener(LocaleListener l)