Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SrcBean (0.07 sec)

  1. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final SrcBean src = new SrcBean();
            src.ccc = " ";
            final DestBean dest = new DestBean();
            BeanUtil.copyBeanToBean(src, dest);
            assertThat(dest.ccc, is(" "));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToBean_excludesWhitespace() throws Exception {
            final SrcBean src = new SrcBean();
            src.ccc = " ";
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

     * <pre>
     * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class);
     * DestBean destBean = copyMapToNewBean(srcMap, DestBean.class);
     * Map&lt;String, Object&gt; destMap = copyBeanToNewMap(srcBean);
     * </pre>
     * <p>
     * コピーする際のオプションを指定することも出来ます。
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.beans.util.CopyOptionsUtil.*;
     *
     * copyBeanToBean(srcBean, destBean, excludeNull());
     * </pre>
     * <p>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top