A B C D E F G H I L M O P R S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addMolgenisNamespaces(String...) - Method in class org.molgenis.i18n.properties.AllPropertiesMessageSource
- AllPropertiesMessageSource - Class in org.molgenis.i18n.properties
-
A
ResourceBundleMessageSourcethat can be queried for keys per basename. - AllPropertiesMessageSource() - Constructor for class org.molgenis.i18n.properties.AllPropertiesMessageSource
B
- BadRequestException - Exception in org.molgenis.i18n
- BadRequestException(String) - Constructor for exception org.molgenis.i18n.BadRequestException
- BadRequestException(String, Throwable) - Constructor for exception org.molgenis.i18n.BadRequestException
C
- CodedRuntimeException - Exception in org.molgenis.i18n
-
RuntimeExceptionwith error code. - CodedRuntimeException(String) - Constructor for exception org.molgenis.i18n.CodedRuntimeException
- CodedRuntimeException(String, Throwable) - Constructor for exception org.molgenis.i18n.CodedRuntimeException
- ContextMessageSource - Interface in org.molgenis.i18n
-
Returns messages based on the
LocaleContextHolder - ContextMessageSourceImpl - Class in org.molgenis.i18n
- ContextMessageSourceImpl() - Constructor for class org.molgenis.i18n.ContextMessageSourceImpl
- createMessageFormat(String, Locale) - Method in class org.molgenis.i18n.format.MessageFormatFactory
- createMessageFormat(String, Locale) - Method in class org.molgenis.i18n.LocalizationMessageSource
D
- DEFAULT_LANGUAGE_CODE - Static variable in class org.molgenis.i18n.LanguageService
- DEFAULT_LANGUAGE_NAME - Static variable in class org.molgenis.i18n.LanguageService
- DEFAULT_LOCALE - Static variable in class org.molgenis.i18n.LanguageService
E
- ErrorCoded - Interface in org.molgenis.i18n
F
- ForbiddenException - Exception in org.molgenis.i18n
- ForbiddenException(String) - Constructor for exception org.molgenis.i18n.ForbiddenException
- ForbiddenException(String, Throwable) - Constructor for exception org.molgenis.i18n.ForbiddenException
- formatMessage(String, Object[]) - Static method in class org.molgenis.i18n.LanguageService
-
Deprecated.Use
MessageSourceHolderandLocaleContextHolderinstead
G
- getAllMessageIds() - Method in class org.molgenis.i18n.properties.AllPropertiesMessageSource
- getBundle() - Static method in class org.molgenis.i18n.LanguageService
-
Deprecated.
- getCurrentUserLanguageCode() - Static method in class org.molgenis.i18n.LanguageService
-
Deprecated.Use the
LocaleContextHolderinstead. - getDefaultMessage(String) - Method in class org.molgenis.i18n.LocalizationMessageSource
-
The default message adds # marks around the code so that they stand out as not yet translated.
- getErrorCode() - Method in exception org.molgenis.i18n.CodedRuntimeException
- getErrorCode() - Method in interface org.molgenis.i18n.ErrorCoded
- getIdValue() - Method in interface org.molgenis.i18n.Identifiable
- getLabel(String) - Method in interface org.molgenis.i18n.Labeled
- getLanguageCode(String) - Static method in class org.molgenis.i18n.I18nUtils
-
Get the language code of a new with language suffix.
- getLanguageCodes() - Static method in class org.molgenis.i18n.LanguageService
-
"en": is default "xx": is a placeholder for having your own language "nl", "de", "es", "it", "pt", "fr": are extra languages
- getLocalizedMessage() - Method in exception org.molgenis.i18n.CodedRuntimeException
- getLocalizedMessageArguments() - Method in exception org.molgenis.i18n.CodedRuntimeException
- getMessage(String) - Method in interface org.molgenis.i18n.ContextMessageSource
-
Returns the message in the locale of the current user.
- getMessage(String) - Method in class org.molgenis.i18n.ContextMessageSourceImpl
- getMessage(String, Object[]) - Method in interface org.molgenis.i18n.ContextMessageSource
-
Returns the message in the locale of the current user.
- getMessage(String, Object[]) - Method in class org.molgenis.i18n.ContextMessageSourceImpl
- getMessageSource() - Static method in class org.molgenis.i18n.MessageSourceHolder
- getNamespace() - Method in class org.molgenis.i18n.PropertiesMessageSource
-
Returns the namespace of this
PropertiesMessageSource
H
- hasLanguageCode(String) - Static method in class org.molgenis.i18n.LanguageService
I
- I18nConfig - Class in org.molgenis.i18n
- I18nConfig() - Constructor for class org.molgenis.i18n.I18nConfig
- I18nUtils - Class in org.molgenis.i18n
- ID - Static variable in class org.molgenis.i18n.format.MessageFormatFactory
- Identifiable - Interface in org.molgenis.i18n
- isI18n(String) - Static method in class org.molgenis.i18n.I18nUtils
-
Check is a name is suffixed with a language code
L
- LABEL - Static variable in class org.molgenis.i18n.format.MessageFormatFactory
- Labeled - Interface in org.molgenis.i18n
- LANGUAGE_CODE_EN - Static variable in class org.molgenis.i18n.LanguageService
- LANGUAGE_CODE_NL - Static variable in class org.molgenis.i18n.LanguageService
- LanguageService - Class in org.molgenis.i18n
- LocalizationMessageSource - Class in org.molgenis.i18n
-
The standard Molgenis
MessageSourcewhich looks up messages in theMessageResolutionand delegatesMessageFormatcreation to aMessageFormatFactory. - LocalizationMessageSource(MessageFormatFactory, MessageResolution, Supplier<Locale>) - Constructor for class org.molgenis.i18n.LocalizationMessageSource
M
- messageFormatFactory() - Method in class org.molgenis.i18n.I18nConfig
- MessageFormatFactory - Class in org.molgenis.i18n.format
- MessageFormatFactory() - Constructor for class org.molgenis.i18n.format.MessageFormatFactory
- MessageResolution - Interface in org.molgenis.i18n
- MessageSourceHolder - Class in org.molgenis.i18n
O
- org.molgenis.i18n - package org.molgenis.i18n
- org.molgenis.i18n.format - package org.molgenis.i18n.format
- org.molgenis.i18n.properties - package org.molgenis.i18n.properties
P
- PropertiesMessageSource - Class in org.molgenis.i18n
-
If you want localization messages for a namespace to be picked up by the populator, you need to create a
PropertiesMessageSourcebean for that namespace and add it to the context. - PropertiesMessageSource(String) - Constructor for class org.molgenis.i18n.PropertiesMessageSource
R
- resolveCode(String, Locale) - Method in class org.molgenis.i18n.LocalizationMessageSource
-
Looks up the
MessageFormatfor a code. - resolveCodeWithoutArguments(String, Locale) - Method in class org.molgenis.i18n.LocalizationMessageSource
-
Looks up a code in the
MessageResolution. - resolveCodeWithoutArguments(String, Locale) - Method in interface org.molgenis.i18n.MessageResolution
- resolveCodeWithoutArguments(String, Locale) - Method in class org.molgenis.i18n.properties.AllPropertiesMessageSource
S
- setMessageSource(MessageSource) - Static method in class org.molgenis.i18n.MessageSourceHolder
All Classes All Packages