- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for getAsString (0.13 sec)
-
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
return params.get(key); } public String getAsString(final String key) { if (params.get(key) instanceof final String strValue) { return strValue; } final Object value = params.get(key); if (value != null) { return value.toString(); } return null; } public String getAsString(final String key, final String defaultValue) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java
assertEquals("settings-test.suggest", settings.getAsString(SuggestSettings.DefaultKeys.INDEX, "")); assertEquals("content", settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0]); assertEquals("label,virtual_host", settings.getAsString(SuggestSettings.DefaultKeys.TAG_FIELD_NAME, "")); assertEquals("role", settings.getAsString(SuggestSettings.DefaultKeys.ROLE_FIELD_NAME, "")); } @Test
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java
final java.sql.Timestamp result = (java.sql.Timestamp) converter.getAsObject("2008/12/31 12:34:56"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/12/31 12:34:56")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
if (documentExpires != null) { defaultDataMap.put(fessConfig.getIndexFieldExpires(), documentExpires); } // segment defaultDataMap.put(fessConfig.getIndexFieldSegment(), initParamMap.getAsString(Constants.SESSION_ID)); // created defaultDataMap.put(fessConfig.getIndexFieldCreated(), systemHelper.getCurrentTime()); // boost
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java
final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16"); System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java
} /** * @throws Exception */ @Test public void testGetAsString() throws Exception { final NumberConverter converter = new NumberConverter("##0"); assertThat(converter.getAsString(new Integer("100")), is("100")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception { final NumberConverter converter = new NumberConverter("##0");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
badWords = settings.badword().get(true); tagFieldNames = settings.getAsString(SuggestSettings.DefaultKeys.TAG_FIELD_NAME, StringUtil.EMPTY).split(","); roleFieldName = settings.getAsString(SuggestSettings.DefaultKeys.ROLE_FIELD_NAME, StringUtil.EMPTY); langFieldName = settings.getAsString(SuggestSettings.DefaultKeys.LANG_FIELD_NAME, StringUtil.EMPTY);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/converter/NumberConverter.java
return new DecimalFormat(pattern).parse(value); } catch (final ParseException e) { throw new ParseRuntimeException(e); } } @Override public String getAsString(final Object value) { if (value == null) { return null; } return new DecimalFormat(pattern).format(value); } @Override
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/converter/TimestampConverter.java
if (isEmpty(value)) { return null; } return TimestampConversionUtil.toSqlTimestamp(value, pattern); } @Override public String getAsString(final Object value) { if (value == null) { return null; } return StringConversionUtil.toString((Date) value, pattern); } @Override
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0)