Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copyMapToBean (0.11 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                            props.entrySet().stream().collect(Collectors.toMap(e -> (String) e.getKey(), e -> (String) e.getValue()));
                    tesseractOCRConfig = new TesseractOCRConfig();
                    BeanUtil.copyMapToBean(propMap, tesseractOCRConfig);
                    tesseractOCRConfigMap.put(tesseractConfigPath, tesseractOCRConfig);
                }
                parseContext.set(TesseractOCRConfig.class, tesseractOCRConfig);
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

            if (Map.class.equals(dataClass)) {
                return dataMap;
            }
    
            try {
                final Object obj = dataClass.getDeclaredConstructor().newInstance();
                BeanUtil.copyMapToBean(dataMap, obj);
                return obj;
            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not create/copy a data map to " + dataClass, e);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            if (Map.class.equals(dataClass)) {
                return dataMap;
            }
    
            try {
                final Object obj = dataClass.getDeclaredConstructor().newInstance();
                BeanUtil.copyMapToBean(dataMap, obj);
                return obj;
            } catch (final Exception e) {
                throw new CrawlerSystemException("Could not create/copy a data map to " + dataClass, e);
            }
        }
    
        /*
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top