deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.portal.standard.context.control
Class ContextMessages

java.lang.Object
  extended by 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$

Constructor Summary
ContextMessages()
          empty constructor
 
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
 

Constructor Detail

ContextMessages

public ContextMessages()
empty constructor

Method Detail

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org