Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for getContext (0.11 sec)

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

            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_ooow_as() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getXml_entity() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_entity.xml");
            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getTika_hpp() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/program/test.hpp");
            final ExtractData extractData = tikaExtractor.getText(in, null);
            final String content = extractData.getContent();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                            buf.append(bodyPart.getContent().toString()).append(' ');
                        } else if (bodyPart.isMimeType("multipart/alternative") && bodyPart.getContent() instanceof Multipart) {
                            final Multipart alternativePart = (Multipart) bodyPart.getContent();
                            for (int j = 0; j < alternativePart.getCount(); j++) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getHtml_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html");
            final String content = htmlXpathExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            final Map<String, String> params = new HashMap<String, String>();
            final ExtractData text = extractor.getText(new FileInputStream(contentFile), params);
            assertEquals(content, text.getContent());
        }
    
        public void test_getText_withUrl() throws IOException {
            final File scriptFile = createScriptTempFile(3);
            final String content = "TEST";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

    @Experimental
    public interface XmlWriterRequest<T> {
    
        @Nullable
        Path getPath();
    
        @Nullable
        OutputStream getOutputStream();
    
        @Nullable
        Writer getWriter();
    
        @Nonnull
        T getContent();
    
        @Nullable
        Function<Object, String> getInputLocationFormatter();
    
        static <T> XmlWriterRequestBuilder<T> builder() {
            return new XmlWriterRequestBuilder<>();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

        }
    
        @Test
        void testGetContent() {
            StringSource source = new StringSource(null);
            assertEquals("", source.getContent());
    
            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("Hello World!", source.getContent());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

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

         * Gets the character sequence of this settings source.
         *
         * @return The underlying character stream, never {@code null}.
         * @deprecated instead use {@link #getContent()}
         */
        @Deprecated
        public String getSettings() {
            return getContent();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top