org.deegree.portal.standard.context.control
Class ContextMessages
java.lang.Object
org.deegree.portal.standard.context.control.ContextMessages
public class ContextMessages
- extends java.lang.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$
Method Summary |
static java.lang.String |
getMessage(java.lang.String key,
java.lang.Object... arguments)
Returns the message assigned to the passed key. |
static java.lang.String |
getName()
|
static java.lang.String |
getString(java.lang.String key)
|
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 java.lang.String getString(java.lang.String key)
- Parameters:
key
-
- Returns:
- the message assigned to the passed key
getMessage
public static java.lang.String getMessage(java.lang.String key,
java.lang.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 java.lang.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