org.deegree.portal.cataloguemanager.control
Class HelpMessages
java.lang.Object
org.deegree.portal.cataloguemanager.control.HelpMessages
public class HelpMessages
- extends 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()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelpMessages
public HelpMessages()
get
public static String get(Locale loc,
String key)
- Parameters:
loc
- the locale to be usedkey
- to get
- Returns:
- the localized message
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org