org.apache.aries.application.resolver.internal
Class MessageUtil

java.lang.Object
  extended by org.apache.aries.application.resolver.internal.MessageUtil

public class MessageUtil
extends Object


Constructor Summary
MessageUtil()
           
 
Method Summary
static String getMessage(String key, Object... inserts)
          Resolve a message from the bundle, including any necessary formatting.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageUtil

public MessageUtil()
Method Detail

getMessage

public static final String getMessage(String key,
                                      Object... inserts)
Resolve a message from the bundle, including any necessary formatting.

Parameters:
key - the message key.
inserts - any required message inserts.
Returns:
the message translated into the server local.


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.