org.overlord.sramp.ui.client.services.i18n
Class LocalizationDictionary

java.lang.Object
  extended by org.overlord.sramp.ui.client.services.i18n.LocalizationDictionary

public class LocalizationDictionary
extends Object

A localizatoin dictionary.

Author:
eric.wittmann@redhat.com

Method Summary
static LocalizationDictionary create(Map<String,String> messageData)
          Creates a localization dictionary from message data.
 String get(String key)
          Get the value associated with the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static LocalizationDictionary create(Map<String,String> messageData)
Creates a localization dictionary from message data.

Parameters:
messageData -

get

public String get(String key)
Get the value associated with the given key.

Parameters:
key - to lookup
Returns:
the value


Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.