Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for excludesWhitespace (0.11 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. 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/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