org.slim3.struts.util
Class MessageResourcesUtil

java.lang.Object
  extended by org.slim3.struts.util.MessageResourcesUtil

public final class MessageResourcesUtil
extends Object

A utility for MessageResources.

Since:
3.0
Author:
higa

Method Summary
static String getMessage(Locale locale, String key)
          Returns the message.
static String getMessage(String key)
          Returns the message.
static MessageResources getMessageResources()
          Returns the message resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessageResources

public static MessageResources getMessageResources()
Returns the message resources.

Returns:
the message resources

getMessage

public static String getMessage(Locale locale,
                                String key)
Returns the message.

Parameters:
locale - the locale
key - the key
Returns:
the message

getMessage

public static String getMessage(String key)
Returns the message.

Parameters:
key - the key
Returns:
the message


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.