- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 159 for locale (0.16 sec)
-
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
/** ロケール */ protected final Locale locale; /** 現在のスタイルを示すインデックス */ protected int index; /** * インスタンスを構築します。 * * @param locale * ロケール */ public DateFormatIterator(final Locale locale) { this.locale = locale; } @Override
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { locale = Locale.ENGLISH; } String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class); if (url == null) { url = ComponentUtil.getMessageManager().getMessage(locale, "labels.search_unknown"); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
df.applyPattern(pattern); return df.format(value); } private static Locale getUserLocale() { final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { return Locale.ROOT; } return locale; } public static String formatFileSize(final long value) { double target = value;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
} dataStoreMap.put(name.toLowerCase(Locale.ROOT), dataStore); dataStoreMap.put(dataStore.getClass().getSimpleName().toLowerCase(Locale.ROOT), dataStore); } public DataStore getDataStore(final String name) { if (name == null) { return null; } return dataStoreMap.get(name.toLowerCase(Locale.ROOT)); } public String[] getDataStoreNames() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/LocaleUtilTest.java
package org.codelibs.core.misc; import java.util.Locale; import junit.framework.TestCase; /** * @author higa * */ public class LocaleUtilTest extends TestCase { /** * @throws Exception */ public void testGetLocale() throws Exception { assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null)); assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja"));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
final List<Map<String, String>> itemList = new ArrayList<>(); final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC)); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_digest"), Constants.DIGEST));
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java
String actualOsName = context.getSystemProperties().get("os.name").toLowerCase(Locale.ENGLISH); String actualOsArch = context.getSystemProperties().get("os.arch").toLowerCase(Locale.ENGLISH); String actualOsVersion = context.getSystemProperties().get("os.version").toLowerCase(Locale.ENGLISH); if (active && os.getFamily() != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
import java.util.Date; import java.util.Locale; import java.util.TimeZone; import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author higa */ public class TimestampConversionUtilTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java
* under the License. */ package org.apache.maven.internal.impl.model.profile; import java.util.Locale; import java.util.stream.Stream; /** * OS support */ public class Os { /** * The OS Name. */ public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH); /** * The OA architecture. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
public void setVirtualHost(final String virtualHost) { this.virtualHost = virtualHost; } public Locale getLocale() { return locale; } public void setLocale(final Locale locale) { this.locale = locale; } } public static class LabelTypePattern { private final String value;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 11.7K bytes - Viewed (2)