Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.birt.core.i18n
Class CoreMessages

    java.lang.Object
      org.eclipse.birt.core.i18n.CoreMessages

    public class CoreMessages

extends java.lang.Object

This class deals with the translation with the given key.

Method Summary
`static java.lang.String` | `getFormattedString(java.lang.String key, java.lang.Object... arguments)` Returns formatted translation for current local.
`static java.lang.String` | `getFormattedString(java.lang.String key, java.lang.Object[] arguments, java.util.Locale locale)` Returns formatted translation for current local.
`static java.util.ResourceBundle` | `getReportResourceBundle()` Returns the resource bundle.
`static java.util.ResourceBundle` | `getReportResourceBundle(java.util.Locale locale)` Returns the resource bundle.
`static java.lang.String` | `getString(java.lang.String key)` Returns common translation for current local.
`static java.lang.String` | `getString(java.lang.String key, java.util.Locale locale)` Returns common translation for current local.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getReportResourceBundle

    public static java.util.ResourceBundle getReportResourceBundle()

  Returns the resource bundle.

  Returns:
    the resource bundle.

### getReportResourceBundle

    public static java.util.ResourceBundle getReportResourceBundle(java.util.Locale locale)

  Returns the resource bundle.

  Returns:
    the resource bundle.

### getString

    public static java.lang.String getString(java.lang.String key)

  Returns common translation for current local.

  Parameters:
    `key` - the key to translate.
  Returns:
    translated value string.

### getString

    public static java.lang.String getString(java.lang.String key,
                                             java.util.Locale locale)

  Returns common translation for current local.

  Parameters:
    `key` - the key to translate.
  Returns:
    translated value string.

### getFormattedString

    public static java.lang.String getFormattedString(java.lang.String key,
                                                      java.lang.Object... arguments)

  Returns formatted translation for current local.

  Parameters:
    `key` - the key to translate.
  Returns:
    translated value string.

### getFormattedString

    public static java.lang.String getFormattedString(java.lang.String key,
                                                      java.lang.Object[] arguments,
                                                      java.util.Locale locale)

  Returns formatted translation for current local.

  Parameters:
    `key` - the key to translate.
  Returns:
    translated value string.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Actuate Corp. All rights reserved.