org.apache.cayenne.util
Class LocalizedStringsHandler

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

public class LocalizedStringsHandler
extends java.lang.Object

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

Author:
Andrei Adamchik

Field Summary
protected static java.util.ResourceBundle bundle
           
static java.lang.String DEFAULT_MESSAGE_BUNDLE
           
 
Constructor Summary
LocalizedStringsHandler()
           
 
Method Summary
protected static java.util.ResourceBundle getBundle()
           
static java.lang.String getString(java.lang.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 java.lang.String DEFAULT_MESSAGE_BUNDLE
See Also:
Constant Field Values

bundle

protected static java.util.ResourceBundle bundle
Constructor Detail

LocalizedStringsHandler

public LocalizedStringsHandler()
Method Detail

getString

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


getBundle

protected static java.util.ResourceBundle getBundle()


Copyright © 2001-2006 Apache.org All Rights Reserved.