Package com.atlassian.jira.web.bean.i18n
Class TranslationStoreTemplate<K,V> 
java.lang.Object
com.atlassian.jira.web.bean.i18n.TranslationStoreTemplate<K,V> 
- Type Parameters:
- K- type parameter for the key
- V- type parameter for the value
- All Implemented Interfaces:
- TranslationStore
- Direct Known Subclasses:
- ByteArrayBackedStore,- CompressedKeyStore
Templates class for TranslationStore implementations. Subclasses need only implement #makeKeyFromString and #makeValueFromString.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontainsKey(String key) Whether this TranslationStore contains the given key.Returns the i18n value associated with a key.keys()Returns an Iterable over this TranslationStore's keys.protected abstract KmakeKeyFromString(String key) protected abstract VmakeValueFromString(String value) 
- 
Constructor Details- 
TranslationStoreTemplate
 
- 
- 
Method Details- 
getDescription copied from interface:TranslationStoreReturns the i18n value associated with a key.- Specified by:
- getin interface- TranslationStore
- Parameters:
- key- a String key
- Returns:
- a String
 
- 
containsKeyDescription copied from interface:TranslationStoreWhether this TranslationStore contains the given key.- Specified by:
- containsKeyin interface- TranslationStore
- Parameters:
- key- a String key
- Returns:
- true if this TranslationStore contains the given key
 
- 
keysDescription copied from interface:TranslationStoreReturns an Iterable over this TranslationStore's keys.- Specified by:
- keysin interface- TranslationStore
- Returns:
- an Iterable<String>
 
- 
makeKeyFromString
- 
makeValueFromString
 
-