au.edu.anu.portal.portlets.basiclti.utils
Class Messages

java.lang.Object
  extended by au.edu.anu.portal.portlets.basiclti.utils.Messages

public class Messages
extends Object

Messages.java Handles the retrieval of localised messages and parameter substitution.

Author:
Steve Swinsburg (steve.swinsburg@anu.edu.au)

Constructor Summary
Messages()
           
 
Method Summary
static String getString(String key)
          Get a simple message from the bundle
static String getString(String key, Object[] arguments)
          Get a parameterised message from the bundle and perform the parameter substitution on it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messages

public Messages()
Method Detail

getString

public static String getString(String key)
Get a simple message from the bundle

Parameters:
key -
Returns:

getString

public static String getString(String key,
                               Object[] arguments)
Get a parameterised message from the bundle and perform the parameter substitution on it

Parameters:
key -
Returns:


Copyright © 2010-2012 Division of Information, Australian National University. All Rights Reserved.