org.apache.cayenne.util
Class LocalizedStringsHandler

java.lang.Object
  extended by org.apache.cayenne.util.LocalizedStringsHandler

public class LocalizedStringsHandler
extends Object

Provides access to various modeler resources (mainly strings) obtained via a ResourceBundle.


Field Summary
protected static ResourceBundle bundle
           
static String DEFAULT_MESSAGE_BUNDLE
           
 
Constructor Summary
LocalizedStringsHandler()
           
 
Method Summary
protected static ResourceBundle getBundle()
           
static String getString(String key)
          Returns localized string for the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MESSAGE_BUNDLE

public static final String DEFAULT_MESSAGE_BUNDLE
See Also:
Constant Field Values

bundle

protected static ResourceBundle bundle
Constructor Detail

LocalizedStringsHandler

public LocalizedStringsHandler()
Method Detail

getString

public static String getString(String key)
Returns localized string for the given key.


getBundle

protected static ResourceBundle getBundle()


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.