Skip navigation links
A B C D E F G H I L M O P R S 

A

addMolgenisNamespaces(String...) - Method in class org.molgenis.i18n.properties.AllPropertiesMessageSource
 
AllPropertiesMessageSource - Class in org.molgenis.i18n.properties
A ResourceBundleMessageSource that 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
RuntimeException with error code.
CodedRuntimeException(String) - Constructor for exception org.molgenis.i18n.CodedRuntimeException
 
CodedRuntimeException(String, Throwable) - Constructor for exception org.molgenis.i18n.CodedRuntimeException
 
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

formatMessage(String, Object[]) - Static method in class org.molgenis.i18n.LanguageService
Deprecated.
Use MessageSourceHolder and LocaleContextHolder instead

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 LocaleContextHolder instead.
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
 
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 MessageSource which looks up messages in the MessageResolution and delegates MessageFormat creation to a MessageFormatFactory.
LocalizationMessageSource(MessageFormatFactory, MessageResolution, Supplier<Locale>) - Constructor for class org.molgenis.i18n.LocalizationMessageSource
 

M

MessageFormatFactory - Class in org.molgenis.i18n.format
 
MessageFormatFactory() - Constructor for class org.molgenis.i18n.format.MessageFormatFactory
 
messageFormatFactory() - Method in class org.molgenis.i18n.I18nConfig
 
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 PropertiesMessageSource bean 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 MessageFormat for 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
 
A B C D E F G H I L M O P R S 
Skip navigation links

Copyright © 2018 Pivotal Software, Inc.. All rights reserved.