StringLocalizer (JGoodies Common 1.4 API)
Date: 2012-07-24

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

## com.jgoodies.common.internal
Interface StringLocalizer

    public interface StringLocalizer

Describes an object that can localize Strings accessible via a key.

This interface is used by the JGoodies Forms to localize Strings from ResourceBundles and ResourceMaps (a class from JGoodies Application). The latter implements this StringLocalizer interface. Since ResourceBundle does not implement this interface, a wrapper can be used that implements this interface and just delegates to the ResourceBundle to look up the localized String.

Note: This class is not part of the public JGoodies Common API. It's intended for implementation purposes only. The class's API may change at any time.

Since:
  1.4
Version:
  $Revision: 1.2 $
Author:
  Karsten Lentzsch

Method Summary
`String` | `getString(String key)` Returns a localized String for the given key.

Method Detail

### getString

    String getString(String key)

  Returns a localized String for the given key.

  Parameters:
    `key` - the key used to look up the localized String
  Returns:
    the localized 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 © 2009-2012 JGoodies Karsten Lentzsch. All Rights Reserved.