Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for getValues (0.1 sec)

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

            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertEquals("Writer", extractData.getValues("Creator")[0]);
            assertEquals("OpenOffice.org 3.0", extractData.getValues("Producer")[0]);
            assertEquals("D:20090627222631+09'00'", extractData.getValues("CreationDate")[0]);
        }
    
        public void test_getText_pass() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

                assertTrue(data.getValues("Subject")[0].contains("気象情報"));
            }
        }
    
        public void test_getReceivedDate() throws IOException {
            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/eml/sample1.eml")) {
                ExtractData data = emlExtractor.getText(in, null);
                final String[] receivedDate = data.getValues("Received-Date");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            final String content = data.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertEquals("タイトル", data.getValues("title")[0]);
        }
    
        public void test_getHtml_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html");
            final ExtractData data = htmlExtractor.getText(in, null);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

                    if ("overwrite".equalsIgnoreCase(value)) {
                        return true;
                    }
                }
                return false;
            }
    
            public String[] getValues() {
                return values;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java

            metadata.put(key, values);
        }
    
        public void putValue(final String key, final String value) {
            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;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false));
            assertEquals("bar", fieldConfigs.getConfig("foo").map(FieldConfigs.Config::getValues).orElse(new String[0])[0]);
        }
    
        public void test_cache_true() {
            final Map<String, String> params = Maps.of("foo", "true");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/Tuple5.java

         */
        public T1 getValue1() {
            return value1;
        }
    
        /**
         * 1番目の値を設定します。
         *
         * @param value1
         *            1番目の値
         */
        public void setValue1(final T1 value1) {
            this.value1 = value1;
        }
    
        /**
         * 2番目の値を返します。
         *
         * @return 2番目の値
         */
        public T2 getValue2() {
            return value2;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                if (boostList != null) {
                    boostList.forEach(pair -> list.add(new FilterFunctionBuilder(pair.getValue2(), pair.getValue3())));
                }
            });
        }
    
        public List<Map<String, Object>> getBoostedDocumentList(final KeyMatch keyMatch) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/Tuple4.java

         * @return 1番目の値
         */
        public T1 getValue1() {
            return value1;
        }
    
        /**
         * 1番目の値を設定します。
         *
         * @param value1
         *            1番目の値
         */
        public void setValue1(final T1 value1) {
            this.value1 = value1;
        }
    
        /**
         * 2番目の値を返します。
         *
         * @return 2番目の値
         */
        public T2 getValue2() {
            return value2;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

                for (final Tuple3<String, String, String> host : vHosts) {
                    final String headerValue = req.getHeader(host.getValue1());
                    if (host.getValue2().equalsIgnoreCase(headerValue)) {
                        return func.apply(host.getValue3());
                    }
                }
                return defaultValue;
            }).orElse(defaultValue);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top