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

org.deegree.portal.cataloguemanager.control
Class HelpMessages

java.lang.Object
  extended by org.deegree.portal.cataloguemanager.control.HelpMessages

public class HelpMessages
extends java.lang.Object

Responsible for the access to messages that are visible to the user.

Messages are read from the properties file messages_LANG.properties (LANG is always a lowercased ISO 639 code), so internationalization is supported. If a certain property (or the property file) for the specific default language of the system is not found, the message is taken from messages_en.properties.

Version:
$Revision: 24218 $, $Date: 2010-05-07 09:33:10 +0200 (Fr, 07 Mai 2010) $
Author:
Andreas Poth, last edited by: $Author: jmays $
See Also:
Locale.getLanguage()

Constructor Summary
HelpMessages()
           
 
Method Summary
static java.lang.String get(java.util.Locale loc, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpMessages

public HelpMessages()
Method Detail

get

public static java.lang.String get(java.util.Locale loc,
                                   java.lang.String key)
Parameters:
loc - the locale to be used
key - to get
Returns:
the localized message

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