org.sakaiproject.profile2.util
Class Messages
java.lang.Object
org.sakaiproject.profile2.util.Messages
public class Messages
- extends Object
Messages.java
Handles the retrieval of localised messages and parameter substitution.
- Author:
- Steve Swinsburg (steve.swinsburg@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Messages
public Messages()
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 © 2008-2012 The Sakai Foundation. All Rights Reserved.