org.barracudamvc.plankton.l10n
Class Localize
java.lang.Object
org.barracudamvc.plankton.l10n.Localize
- public class Localize
- extends Object
Simple localization utilities.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Localize
public Localize()
getString
public static String getString(ResourceBundle rb,
String key)
- Get data from a resource bundle. If the data is not available an
appropriate error message is returned instead.
- Parameters:
rb
- the resource bundlekey
- the key we are after
- Returns:
- the value in the resource bundle for the given key
Copyright © 2004 BarracudaMVC.org All Rights Reserved.