Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isInMemory (0.07 sec)

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

            if (out.isInMemory()) {
                return new ByteArrayInputStream(out.getData());
            }
            return new FileInputStream(out.getFile());
        }
    
        protected long getContentLength(final DeferredFileOutputStream out) throws IOException {
            if (out.isInMemory()) {
                return out.getData().length;
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            return parseContext;
        }
    
        protected InputStream getContentStream(final DeferredFileOutputStream dfos) throws IOException {
            if (dfos.isInMemory()) {
                return new ByteArrayInputStream(dfos.getData());
            }
            return new BufferedInputStream(new FileInputStream(dfos.getFile()));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top