Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for excludeWhitespace (0.09 sec)

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

         *
         * @return A {@link CopyOptions} that excludes properties with whitespace values from the operation.
         * @see CopyOptions#excludeWhitespace()
         */
        public static CopyOptions excludeWhitespace() {
            return new CopyOptions().excludeWhitespace();
        }
    
        /**
         * Returns a {@link CopyOptions} with the specified prefix.
         * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  3. 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

            return this;
        }
    
        /**
         * Excludes properties with only whitespace from the operation.
         *
         * @return This instance itself
         */
        public CopyOptions excludeWhitespace() {
            excludesWhitespace = true;
            return this;
        }
    
        /**
         * Specifies the prefix.
         * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
Back to top