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

## org.modeshape.common.i18n
Interface I18nResource

All Known Implementing Classes:
  I18n

    public interface I18nResource

Interface which should be implemented by any i18n compliant resource.

Author:
  Horia Chiorean

Method Summary
`String` | `text(Locale locale, Object... arguments)` Get the localized text for the supplied locale, replacing the parameters in the text with those supplied.
`String` | `text(Object... arguments)` Get the localized text for the `current (default) locale`, replacing the parameters in the text with those supplied.

Method Detail

### text

    String text(Object... arguments)

  Get the localized text for the `current (default) locale`, replacing the parameters in the text with those supplied.

  Parameters:
    `arguments` - the arguments for the parameter replacement; may be `null` or empty
  Returns:
    the localized text

### text

    String text(Locale locale,
                Object... arguments)

  Get the localized text for the supplied locale, replacing the parameters in the text with those supplied.

  Parameters:
    `locale` - the locale, or `null` if the `current (default) locale` should be used
    `arguments` - the arguments for the parameter replacement; may be `null` or empty
  Returns:
    the localized text

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

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.