Interface Dictionary
- All Known Implementing Classes:
SpincastDictionaryDefault
-
Method Summary
Modifier and TypeMethodDescriptionGets a message.Gets a message.Gets a message.Gets a message.Gets a message.Gets a message.Gets a message.Gets a message.Return all the possible values, for all languages used, by language abreviation.Return all the possible values, for all languages used, by language abreviation.Return all the possible values, for all languages used, by language abreviation.Returns all keys the dictionary contains.boolean
Contains this key?
-
Method Details
-
get
Gets a message.Will use the proper Locale as provided by the
LocaleResolver
.The behavior if the key is not found can be configured using
SpincastConfig#getDictionaryEntryNotFoundFallbackTo()
andSpincastConfig.getDictionaryEntryNotFoundBehavior()
. -
get
Gets a message.Uses the specified Locale.
The behavior if the key is not found can be configured using
SpincastConfig#getDictionaryEntryNotFoundFallbackTo()
andSpincastConfig.getDictionaryEntryNotFoundBehavior()
. -
get
Gets a message.Will use the proper Locale as provided by the
LocaleResolver
.- Parameters:
forceEvaluation
- iftrue
, theTemplatingEngine
will be used even there are no parameters. This may be useful to trigger some templating function that don't need parameters. We don't use the templting engine will default since it is costy.The behavior if the key is not found can be configured using
SpincastConfig#getDictionaryEntryNotFoundFallbackTo()
andSpincastConfig.getDictionaryEntryNotFoundBehavior()
.
-
get
Gets a message.Uses the specified Locale.
- Parameters:
forceEvaluation
- iftrue
, theTemplatingEngine
will be used even there are no parameters. This may be useful to trigger some templating function that don't need parameters. We don't use the templting engine will default since it is costy.The behavior if the key is not found can be configured using
SpincastConfig#getDictionaryEntryNotFoundFallbackTo()
andSpincastConfig.getDictionaryEntryNotFoundBehavior()
.
-
get
Gets a message. Will use the proper Locale as provided by theLocaleResolver
.The behavior if the key is not found can be configured using
SpincastConfig#getDictionaryEntryNotFoundFallbackTo()
andSpincastConfig.getDictionaryEntryNotFoundBehavior()
. -
get
Gets a message.Uses the specified Locale.
The behavior if the key is not found can be configured using
SpincastConfig#getDictionaryEntryNotFoundFallbackTo()
andSpincastConfig.getDictionaryEntryNotFoundBehavior()
. -
get
Gets a message.Will use the proper Locale as provided by the
LocaleResolver
.The behavior if the key is not found can be configured using
SpincastConfig#getDictionaryEntryNotFoundFallbackTo()
andSpincastConfig.getDictionaryEntryNotFoundBehavior()
. -
get
Gets a message.Uses the specified Locale.
The behavior if the key is not found can be configured using
SpincastConfig#getDictionaryEntryNotFoundFallbackTo()
andSpincastConfig.getDictionaryEntryNotFoundBehavior()
. -
hasKey
Contains this key? -
getAll
Return all the possible values, for all languages used, by language abreviation. -
getAll
Return all the possible values, for all languages used, by language abreviation. -
getAll
Return all the possible values, for all languages used, by language abreviation. -
getAllKeys
Returns all keys the dictionary contains.
-