Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for excludesWhitespace (0.19 sec)

  1. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

        protected boolean isTargetValue(final Object value) {
            if (value == null) {
                return !excludesNull;
            }
            if (value instanceof String && excludesWhitespace && ((String) value).trim().isEmpty()) {
                return !excludesWhitespace;
            }
            return true;
        }
    
        /**
         * コピー元のプロパティ名をコピー先となる{@literal Map}用のプロパティ名に変換して返します。
         *
         * @param srcPropertyName
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

            if (defaultRule) {
                return true;
            }
    
            final Map<String, Object> map = new HashMap<>();
            BeanUtil.copyBeanToMap(responseData, map, CopyOptions::excludeWhitespace);
            for (final Map.Entry<String, Pattern> entry : regexMap.entrySet()) {
                String value = "";
                final Object obj = map.get(entry.getKey());
                if (obj != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

    import static org.codelibs.core.beans.util.CopyOptionsUtil.exclude;
    import static org.codelibs.core.beans.util.CopyOptionsUtil.excludeNull;
    import static org.codelibs.core.beans.util.CopyOptionsUtil.excludeWhitespace;
    import static org.codelibs.core.beans.util.CopyOptionsUtil.include;
    import static org.codelibs.core.beans.util.CopyOptionsUtil.prefix;
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        final OpenSearchAccessResult accessResult = BeanUtil.copyMapToNewBean(source, OpenSearchAccessResult.class, option -> {
                            option.converter(new EsTimestampConverter(), timestampFields).excludeWhitespace();
                            option.exclude(OpenSearchAccessResult.ACCESS_RESULT_DATA);
                        });
                        @SuppressWarnings("unchecked")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                final Map<String, Object> source = response.getSource();
                final T bean = BeanUtil.copyMapToNewBean(source, clazz, option -> {
                    option.converter(new EsTimestampConverter(), timestampFields).excludeWhitespace();
                    option.exclude(OpenSearchAccessResult.ACCESS_RESULT_DATA);
                });
                @SuppressWarnings("unchecked")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top