org.deegree.portal.standard.context.control
Class ContextMessages
java.lang.Object
  
org.deegree.portal.standard.context.control.ContextMessages
public class ContextMessages
- extends Object
 
This class reads the context.properties that holds the needed data for the full/normal screen mode
- Version:
 
  - $Revision: $, $Date: 29 Jun 2007 16:45:02$
 
- Author:
 
  - Moataz Elmasry, last edited by: $Author: elmasri$
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ContextMessages
public ContextMessages()
- empty constructor
 
getString
public static String getString(String key)
- Parameters:
 key - 
- Returns:
 - the message assigned to the passed key
 
 
getMessage
public static String getMessage(String key,
                                Object... arguments)
- Returns the message assigned to the passed key. If no message is assigned, an error message
 will be returned that indicates the missing key.
- Parameters:
 key - arguments - 
- Returns:
 - the message assigned to the passed key
 
 
 
getName
public static String getName()
- Returns:
 - The file name of the used properties file
 
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org