org.ogf.graap.wsag.server.monitoring
Class Messages

java.lang.Object
  extended by org.ogf.graap.wsag.server.monitoring.Messages

public class Messages
extends Object

Author:
owaeld

Method Summary
static String formatString(String key, Object... arguments)
          retrieves a formated message for a given key
static String getString(String key)
          Retrieve a message for a given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

formatString

public static String formatString(String key,
                                  Object... arguments)
retrieves a formated message for a given key

Parameters:
key - the message key
arguments - the format parameters
Returns:
the formated message

getString

public static String getString(String key)
Retrieve a message for a given key.

Parameters:
key - message key
Returns:
the message


Copyright © 2008-2012. All Rights Reserved.