Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for retention (0.03 sec)

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

     *   <li>PDF Parser configuration for PDF documents</li>
     * </ul>
     *
     * <p>
     * The {@link TikaDetectParser} inner class extends {@link CompositeParser} to provide auto-detection of the MIME type
     * of the document. It also handles zip bomb prevention and embedded document extraction.
     * </p>
     *
     * <p>
     * The {@link ContentWriter} functional interface is used to abstract the process of writing content to a writer.
     * </p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

     *   <li>Normalize the filename to handle special characters.</li>
     *   <li>Configure whether to use the filename for MIME type detection.</li>
     *   <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li>
     * </ul>
     *
     * <p>
     * The MIME type detection is based on the {@code tika-mimetypes.xml} resource, which is loaded during initialization.
     * </p>
     *
     * <p>
     * Usage:
     * </p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

        private File createScriptTempFile(final int sleep) {
            String extention;
            String content;
            if (File.separator.equals("/")) {
                // Unix
                extention = ".sh";
                content = "#!/bin/bash\nsleep " + sleep + ";cp $1 $2";
            } else {
                // Windows
                extention = ".bat";
                content = "ping localhost -n " + sleep + "\r\ncopy %1 %2";
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                        createTempFile("cmdextin_" + filePrefix + "_", StringUtil.isNotBlank(extention) ? "." + extention : extention, tempDir);
                String ext;
                if (outputExtension == null) {
                    if (StringUtil.isNotBlank(extention)) {
                        ext = "." + extention;
                    } else {
                        ext = extention;
                    }
                } else {
                    ext = outputExtension;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

        }
    
        /**
         * Returns the preload size for charset detection.
         * @return The preload size for charset detection.
         */
        public int getPreloadSizeForCharset() {
            return preloadSizeForCharset;
        }
    
        /**
         * Sets the preload size for charset detection.
         * @param preloadSizeForCharset The preload size for charset detection to set.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java

    package org.codelibs.fess.crawler.helper;
    
    import java.io.InputStream;
    import java.util.Map;
    
    /**
     * MimeTypeHelper provides methods to determine the content type of a given input stream or file.
     * It allows content type detection based on the stream's content and/or filename.
     */
    public interface MimeTypeHelper {
        /**
         * Determines the content type of the given input stream and filename.
         * @param is the input stream to analyze
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        /**
         * Checks if automatic UTF-8 encoding detection is enabled.
         *
         * @return True if auto-detection is enabled, false otherwise
         */
        public boolean isAutodetectEncoding() {
            return autodetectEncoding;
        }
    
        /**
         * Sets whether automatic UTF-8 encoding detection is enabled.
         *
         * @param autodetectEncoding True to enable auto-detection, false to disable
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     * It also integrates with other Fess Crawler components, such as {@link ContentLengthHelper} and
     * {@link MimeTypeHelper}, to handle content length checks and MIME type detection.
     * </p>
     *
     * <p>
     * The class uses JCIFS properties to configure the SMB connection.
     * </p>
     *
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * {@code
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

     * The main purpose of this class is to simplify the extraction process by providing a fluent interface
     * for configuring the extraction parameters and handling the underlying complexities of content processing,
     * such as MIME type detection, extractor selection, and content length validation.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
     * <pre>
     * {@code
     * try (InputStream in = new FileInputStream("example.pdf")) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        }
    
        /**
         * Gets the preload size for charset detection.
         *
         * @return the preload size in bytes
         */
        public int getPreloadSizeForCharset() {
            return preloadSizeForCharset;
        }
    
        /**
         * Sets the preload size for charset detection.
         *
         * @param preloadSizeForCharset the preload size in bytes to set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top