Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for excludeWhitespace (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

            excludesNull = true;
            return this;
        }
    
        /**
         * 空白のプロパティを操作の対象外にします。
         *
         * @return このインスタンス自身
         */
        public CopyOptions excludeWhitespace() {
            excludesWhitespace = true;
            return this;
        }
    
        /**
         * プレフィックスを指定します。
         * <p>
         * プレフィックスを指定すると、コピー元のプロパティ名がプレフィックスで始まるプロパティだけがコピーの対象となります。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top