Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for mime (0.01 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

    public class MimeTypeHelperImpl implements MimeTypeHelper {
        /** The resource name for the MIME types configuration file. */
        protected static final String MIME_TYPES_RESOURCE_NAME = "/org/codelibs/fess/crawler/mime/tika-mimetypes.xml";
    
        /** The MimeTypes instance for detecting MIME types. */
        protected MimeTypes mimeTypes;
    
        /** Whether to use the filename for MIME type detection. */
        protected boolean useFilename = false;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

        /**
         * Returns the MIME type of the accessed resource.
         *
         * @return the MIME type
         */
        String getMimeType();
    
        /**
         * Sets the MIME type of the accessed resource.
         *
         * @param mimeType the MIME type
         */
        void setMimeType(String mimeType);
    
        /**
         * Returns the creation time of the access result.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (10)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

        /** Map to store maximum content lengths for specific MIME types */
        protected Map<String, Long> maxLengthMap = new HashMap<>();
    
        /**
         * Adds a maximum content length for a specific MIME type.
         * @param mimeType The MIME type for which to set the maximum length
         * @param maxLength The maximum content length in bytes
         * @throws CrawlerSystemException if the MIME type is blank or maxLength is negative
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

     * The builder allows setting parameters such as MIME type, filename, extractor name, maximum content length,
     * and cache file size to optimize the extraction process.
     *
     * <p>
     * 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,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            this.contentLength = contentLength;
        }
    
        /**
         * Gets the MIME type of the response.
         *
         * @return the MIME type, or null if not specified
         */
        public String getMimeType() {
            return mimeType;
        }
    
        /**
         * Sets the MIME type of the response.
         *
         * @param contentType the MIME type to set
         */
        public void setMimeType(final String contentType) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. 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)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MimeTypeException.java

     */
    package org.codelibs.fess.crawler.exception;
    
    /**
     * MimeTypeException is a custom exception class that extends CrawlerSystemException.
     * It is used to indicate exceptions related to MIME type handling during the crawling process.
     * This exception can be thrown with a message, a cause, or both.
     */
    public class MimeTypeException extends CrawlerSystemException {
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

                    if (!responseData.getUrl().matches(urlCondition)) {
                        return false;
                    }
                }
    
                // Check MIME type condition
                String mimeTypeCondition = conditions.get("mimeType");
                if (mimeTypeCondition != null && responseData.getMimeType() != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

    import org.apache.tika.extractor.ParsingEmbeddedDocumentExtractor;
    import org.apache.tika.io.TemporaryResources;
    import org.apache.tika.io.TikaInputStream;
    import org.apache.tika.metadata.Metadata;
    import org.apache.tika.mime.MediaType;
    import org.apache.tika.parser.CompositeParser;
    import org.apache.tika.parser.ParseContext;
    import org.apache.tika.parser.Parser;
    import org.apache.tika.parser.PasswordProvider;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

        }
    
        /**
         * Returns a text from the input stream.
         *
         * @param in The input stream.
         * @param mimeTypeHelper The mime type helper.
         * @param extractorFactory The extractor factory.
         * @return A text.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top