Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copyBeanToMap (0.21 sec)

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

            BeanUtil.copyBeanToMap(bean, map, converter(new NumberConverter("#,##0")));
            assertEquals("1,000", map.get("aaa"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToMap_converter2() throws Exception {
            final Bean bean = new Bean();
            bean.aaa = "1,000";
            final Map<String, Object> map = 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)
  2. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         */
        public static void copyBeanToMap(final Object src, final Map<String, Object> dest) {
            copyBeanToMap(src, dest, DEFAULT_OPTIONS);
        }
    
        public static void copyBeanToMap(final Object src, final Map<String, Object> dest, final Consumer<CopyOptions> option) {
            copyBeanToMap(src, dest, buildCopyOptions(option));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

        @Override
        public boolean match(final ResponseData responseData) {
            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());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top