TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.logging.core
Class LoggingCoreResourceBundle

java.lang.Object
  extended by org.eclipse.hyades.logging.core.LoggingCoreResourceBundle

public class LoggingCoreResourceBundle
extends java.lang.Object

Logging Core (org.eclipse.hyades.logging.core) resource bundle.


Constructor Summary
LoggingCoreResourceBundle()
           
 
Method Summary
static java.lang.String getString(java.lang.String key)
          Resolves the localized message associated with the parameter key based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.
static java.lang.String getString(java.lang.String key, java.lang.Object argument)
          Resolves the localized and formatted message associated with the parameter key and message parameter based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.
static java.lang.String getString(java.lang.String key, java.lang.Object[] arguments)
          Resolves the localized and formatted message associated with the parameter key and message parameters based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.
static java.lang.String getString(java.lang.String key, java.lang.Object argumentA, java.lang.Object argumentB)
          Resolves the localized and formatted message associated with the parameter key and message parameters based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.
static java.lang.String getString(java.lang.String key, java.lang.Object argumentA, java.lang.Object argumentB, java.lang.Object argumentC)
          Resolves the localized and formatted message associated with the parameter key and message parameters based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.
static java.lang.String getString(java.lang.String key, java.lang.Object argumentA, java.lang.Object argumentB, java.lang.Object argumentC, java.lang.Object argumentD)
          Resolves the localized and formatted message associated with the parameter key and message parameters based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingCoreResourceBundle

public LoggingCoreResourceBundle()
Method Detail

getString

public static java.lang.String getString(java.lang.String key)
Resolves the localized message associated with the parameter key based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes.

If the key does not exist in the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes, the key is returned.

Noteworthy, the resultant message is not formatted (e.g. no message parameter substitution).

Parameters:
key - The key of the message in the resource bundle.
Returns:
The localized message associated with the parameter key from the resource bundle, otherwise the key.

getString

public static java.lang.String getString(java.lang.String key,
                                         java.lang.Object argument)
Resolves the localized and formatted message associated with the parameter key and message parameter based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes.

When the International Components for Unicode (ICU) JAR(s) are available on the class path at run-time, message formatting is done by the MessageFormat class using the ULocale class, otherwise message formatting is done by the MessageFormat class using the Locale class.

If the key does not exist in the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes, the key is returned.

Parameters:
key - The key of the message in the resource bundle.
argument - The first message parameter for formatting in the localized and formatted message.
Returns:
The localized and formatted message associated with the parameter key from the resource bundle, otherwise the key.
See Also:
MessageFormat, Locale, MessageFormat, ULocale, getString(String, Object[])

getString

public static java.lang.String getString(java.lang.String key,
                                         java.lang.Object argumentA,
                                         java.lang.Object argumentB)
Resolves the localized and formatted message associated with the parameter key and message parameters based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes.

When the International Components for Unicode (ICU) JAR(s) are available on the class path at run-time, message formatting is done by the MessageFormat class using the ULocale class, otherwise message formatting is done by the MessageFormat class using the Locale class.

If the key does not exist in the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes, the key is returned.

Parameters:
key - The key of the message in the resource bundle.
argumentA - The first message parameter for formatting in the localized and formatted message.
argumentB - The second message parameter for formatting in the localized and formatted message.
Returns:
The localized and formatted message associated with the parameter key from the resource bundle, otherwise the key.
See Also:
MessageFormat, Locale, MessageFormat, ULocale, getString(String, Object[])

getString

public static java.lang.String getString(java.lang.String key,
                                         java.lang.Object argumentA,
                                         java.lang.Object argumentB,
                                         java.lang.Object argumentC)
Resolves the localized and formatted message associated with the parameter key and message parameters based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes.

When the International Components for Unicode (ICU) JAR(s) are available on the class path at run-time, message formatting is done by the MessageFormat class using the ULocale class, otherwise message formatting is done by the MessageFormat class using the Locale class.

If the key does not exist in the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes, the key is returned.

Parameters:
key - The key of the message in the resource bundle.
argumentA - The first message parameter for formatting in the localized and formatted message.
argumentB - The second message parameter for formatting in the localized and formatted message.
argumentC - The third message parameter for formatting in the localized and formatted message.
Returns:
The localized and formatted message associated with the parameter key from the resource bundle, otherwise the key.
See Also:
MessageFormat, Locale, MessageFormat, ULocale, getString(String, Object[])

getString

public static java.lang.String getString(java.lang.String key,
                                         java.lang.Object argumentA,
                                         java.lang.Object argumentB,
                                         java.lang.Object argumentC,
                                         java.lang.Object argumentD)
Resolves the localized and formatted message associated with the parameter key and message parameters based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes.

When the International Components for Unicode (ICU) JAR(s) are available on the class path at run-time, message formatting is done by the MessageFormat class using the ULocale class, otherwise message formatting is done by the MessageFormat class using the Locale class.

If the key does not exist in the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes, the key is returned.

Parameters:
key - The key of the message in the resource bundle.
argumentA - The first message parameter for formatting in the localized and formatted message.
argumentB - The second message parameter for formatting in the localized and formatted message.
argumentC - The third message parameter for formatting in the localized and formatted message.
argumentD - The fourth message parameter for formatting in the localized and formatted message.
Returns:
The localized and formatted message associated with the parameter key from the resource bundle, otherwise the key.
See Also:
MessageFormat, Locale, MessageFormat, ULocale, getString(String, Object[])

getString

public static java.lang.String getString(java.lang.String key,
                                         java.lang.Object[] arguments)
Resolves the localized and formatted message associated with the parameter key and message parameters based on the default locale from the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes.

When the International Components for Unicode (ICU) JAR(s) are available on the class path at run-time, message formatting is done by the MessageFormat class using the ULocale class, otherwise message formatting is done by the MessageFormat class using the Locale class.

If the key does not exist in the plugin[_<language code>[_<country code>]].properties resource bundle for the org.eclipse.hyades.logging.* classes, the key is returned.

Parameters:
key - The key of the message in the resource bundle.
arguments - The array of message parameters for formatting in the localized and formatted message.
Returns:
The localized and formatted message associated with the parameter key from the resource bundle, otherwise the key.
See Also:
MessageFormat, Locale, MessageFormat, ULocale, getString(String)

TPTP 4.5.0 Platform Project
Public API Specification