Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DeferredFileOutputStream (0.19 sec)

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

        }
    
        public ExtractData extract() {
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
    
            DeferredFileOutputStream dfos = null;
            try (DeferredFileOutputStream out = new DeferredFileOutputStream(cacheFileSize, "fess-extractor-", ".out", null)) {
                dfos = out;
                CopyUtil.copy(in, out);
                out.flush();
    
    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. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

    package org.codelibs.curl.io;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.logging.Logger;
    
    import org.apache.commons.io.output.DeferredFileOutputStream;
    
    public class ContentOutputStream extends DeferredFileOutputStream {
    
        protected static final Logger logger = Logger.getLogger(ContentOutputStream.class.getName());
    
        protected static final String PREFIX = "curl4j-";
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            File tempFile = null;
            final String enc = encoding == null ? Constants.UTF_8 : encoding;
            try (DeferredFileOutputStream dfos = new DeferredFileOutputStream(memorySize, "tika", ".tmp", SystemUtils.getJavaIoTmpDir())) {
                final BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(dfos, enc));
                out.accept(writer);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                        contentType = defaultMimeType;
                    }
                } else {
                    final InputStream responseBodyStream = httpEntity.getContent();
                    try (final DeferredFileOutputStream dfos = new DeferredFileOutputStream((int) maxCachedContentSize, "crawler-HcHttpClient-",
                            ".out", SystemUtils.getJavaIoTmpDir())) {
                        CopyUtil.copy(responseBodyStream, dfos);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top