Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxUncompressionSize (0.08 sec)

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

        public void setMaxCompressionRatio(final long maxCompressionRatio) {
            this.maxCompressionRatio = maxCompressionRatio;
        }
    
        public void setMaxUncompressionSize(final long maxUncompressionSize) {
            this.maxUncompressionSize = maxUncompressionSize;
        }
    
        public void setInitialBufferSize(final int initialBufferSize) {
            this.initialBufferSize = initialBufferSize;
        }
    
    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

        }
    
        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) {
                logger.info(e.getMessage());
            }
        }
    
    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