Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxCompressionRatio (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        public void setReadAsTextIfFailed(final boolean readAsTextIfFailed) {
            this.readAsTextIfFailed = readAsTextIfFailed;
        }
    
        public void setMaxCompressionRatio(final long maxCompressionRatio) {
            this.maxCompressionRatio = maxCompressionRatio;
        }
    
        public void setMaxUncompressionSize(final long maxUncompressionSize) {
            this.maxUncompressionSize = maxUncompressionSize;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            assertTrue(content.contains("テキスト"));
        }
    
        public void test_getTika_zip_bom() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/zip/test_size.zip");
            tikaExtractor.maxCompressionRatio = 1;
            tikaExtractor.maxUncompressionSize = 10000;
            try {
                tikaExtractor.getText(in, null);
                fail();
            } catch (final ExtractException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top