Uses of Class
com.jk.core.locale.JKLocale
Packages that use JKLocale
-
Uses of JKLocale in com.jk.core.locale
Fields in com.jk.core.locale declared as JKLocaleModifier and TypeFieldDescriptionstatic final JKLocaleJKLocale.ARABICRepresents the Arabic locale.static final JKLocaleJKLocale.ENGLISHRepresents the English locale.Methods in com.jk.core.locale that return JKLocaleModifier and TypeMethodDescriptionstatic JKLocaleJKLocale.getDefaultLocale()This method gets the default locale.static JKLocaleJKLocale.valueOf(int languageId) This method return the locale that corresponds to the specified language identifier (ID).static JKLocaleThis method returns the locale that corresponds to the specified language short name.Methods in com.jk.core.locale with parameters of type JKLocaleModifier and TypeMethodDescriptionvoidThis method adds labels according to the locale specified and the file name provided.voidJKMessage.addLables(JKLocale locale, Properties lables) This method adds the labels using the provided locale and properties.This method retrieves a localized label or message by its key, with optional parameter formatting.This method gets the label property value that is linked with the specified locale in the labels map.static voidJKLocale.setDefaultLocale(JKLocale defaultLocale) This method sets this locale default locale.protected voidJKMessage.setProperty(JKLocale locale, String propName, String value) This method replaces the value linked with the specified properties key in the labels map to the provided value, while considering the provided locale. -
Uses of JKLocale in com.jk.core.util
Fields in com.jk.core.util declared as JKLocaleModifier and TypeFieldDescriptionstatic JKLocaleRepresents the default locale used for various operations in the application.Methods in com.jk.core.util with parameters of type JKLocaleModifier and TypeMethodDescriptionstatic voidJK.setDefaultLocale(JKLocale locale) This method sets the default locale to the provided locale.