Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_getEncoding_none (0.08 sec)

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

            final String encoding = xmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("UTF-16BE", encoding);
        }
    
        public void test_getEncoding_none() {
            final InputStream in = new ByteArrayInputStream("<hoge></hoge>".getBytes());
            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = xmlExtractor.getEncoding(bis);
    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