Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
            for (final String key : extractData.getKeySet()) {
                logger.info("{}={}", key, String.join("|", extractData.getValues(key)));
            }
            assertEquals("4", extractData.getValues("cp:revision")[0]);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java

            metadata.put(key, new String[] { value });
        }
    
        public String[] getValues(final String key) {
            return metadata.get(key);
        }
    
        public Set<String> getKeySet() {
            return metadata.keySet();
        }
    
        public String getContent() {
            return content;
        }
    
        public void setContent(final String content) {
            this.content = content;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                }
                if (getLogger().isDebugEnabled()) {
                    getLogger().debug("ExtractData: {}", extractData);
                }
                // meta
                extractData.getKeySet().stream().filter(k -> extractData.getValues(k) != null).forEach(key -> {
                    final String[] values = extractData.getValues(key);
                    metaDataMap.put(key, values);
    
                    // meta -> content
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top