- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for getLocale (0.07 sec)
-
src/test/java/org/codelibs/core/misc/LocaleUtilTest.java
/** * @throws Exception */ public void testGetLocale() throws Exception { assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null)); assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja")); assertEquals("3", Locale.JAPAN, LocaleUtil.getLocale("ja_JP")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
labelList = labelTypeItemList.stream().filter(item -> matchLocale(requestLocale, item.getLocale())).collect(Collectors.toList()); } else { labelList = labelTypeItemList.stream() .filter(item -> matchLocale(requestLocale, item.getLocale()) && virtualHostKey.equals(item.getVirtualHost())) .collect(Collectors.toList()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
final FessMessages messages = new FessMessages(); validationMessagesLambda.message(messages); return messageManager.toMessageList(request.getLocale() == null ? Locale.ENGLISH : request.getLocale(), messages).stream() .collect(Collectors.joining(" ")); } protected boolean isAccessAllowed() { return false; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
*/ public static final ResourceBundle getBundle(final String name, final Locale locale) { assertArgumentNotEmpty("name", name); try { return ResourceBundle.getBundle(name, getLocale(locale)); } catch (final MissingResourceException ignore) { return null; } } /** * バンドルを返します。 見つからない場合は、<code>null</code>を返します。 * * @param name
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
final List<Map<String, String>> labelTypeItems = labelTypeHelper.getLabelTypeItemList(SearchRequestType.SEARCH, request.getLocale() == null ? Locale.ROOT : request.getLocale()); runtime.registerData("labelTypeItems", labelTypeItems); runtime.registerData("displayLabelTypeItems", labelTypeItems != null && !labelTypeItems.isEmpty());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
RenderDataUtil.register(data, "displayQuery", getDisplayQuery(form, labelTypeHelper .getLabelTypeItemList(SearchRequestType.SEARCH, request.getLocale() == null ? Locale.ROOT : request.getLocale()))); createPagingQuery(form); final String[] relatedContents = relatedContentHelper.getRelatedContents(form.getQuery());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/LabelType.java
} public Long getVersionNo() { return asDocMeta().version(); } public void setVersionNo(final Long version) { asDocMeta().version(version); } public Locale getLocale() { if (locale == null) { if (getValue() == null) { return Locale.ROOT; } locale = ComponentUtil.getFessConfig().getQueryLocaleFromName(getValue()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
*/ public abstract class LocaleUtil { /** * {@link Locale}を返します。 * * @param localeStr * ロケールを表す文字列 * @return {@link Locale} */ public static Locale getLocale(final String localeStr) { // TODO replace with Fess Locale locale = LocaleUtil.getDefault(); if (localeStr != null) { final int index = localeStr.indexOf('_'); if (index < 0) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java
} @Override public Object getAttribute(String name) { return null; } @Override public Locale getLocale() { return null; } @Override public SearchRequestType getType() { return null; } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7K bytes - Viewed (0)