Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_getHtml_utf8 (0.12 sec)

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

            htmlExtractor = container.getComponent("htmlExtractor");
            htmlExtractor.addMetadata("title", "//TITLE");
        }
    
        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();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            htmlXpathExtractor = container.getComponent("htmlXpathExtractor");
            htmlXpathExtractor.init();
        }
    
        public void test_getHtml_utf8() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.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)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("xmlExtractor", XmlExtractor.class);
            xmlExtractor = container.getComponent("xmlExtractor");
        }
    
        public void test_getXml_utf8() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_utf8.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)
Back to top