Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for excludesWhitespace (0.8 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;
        }
    
        /**
         * Converts the source property name to the destination property name for use in a {@literal Map}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. 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)
  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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
Back to top