|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.bean.i18n.StringBackedStore
public class StringBackedStore
Uses String for both keys and values.
Constructor Summary | |
---|---|
StringBackedStore(Map<String,String> map)
|
Method Summary | |
---|---|
boolean |
containsKey(String key)
Whether this TranslationStore contains the given key. |
static StringBackedStore |
fromMap(Map<String,String> map)
|
String |
get(String key)
Returns the i18n value associated with a key. |
Iterable<String> |
keys()
Returns an Iterable over this TranslationStore's keys. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringBackedStore(Map<String,String> map)
Method Detail |
---|
public static StringBackedStore fromMap(Map<String,String> map)
public String get(String key)
TranslationStore
get
in interface TranslationStore
key
- a String key
public boolean containsKey(String key)
TranslationStore
containsKey
in interface TranslationStore
key
- a String key
public Iterable<String> keys()
TranslationStore
keys
in interface TranslationStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |