Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for mime_types (0.08 seconds)

  1. internal/config/compress/compress.go

    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    	if compressMimeTypesLegacy2 != "" {
    		mimeTypes, err := parseCompressIncludes(compressMimeTypesLegacy2)
    		if err != nil {
    			return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESS_MIME_TYPES value (`%s`)", err, mimeTypes)
    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    	return cfg, nil
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Sep 06 17:37:10 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

          <!-- note on the offset value here: this can only be as big as
               MimeTypes#getMinLength(). If you set the offset value to larger
               than that size, the magic will only be compared to up to
               MimeTypes#getMinLength() bytes. It should also only start after
               the higher priority "start of file" one above
           -->
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Oct 16 07:46:32 GMT 2025
    - 320.2K bytes
    - Click Count (5)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default boolean isHtmlMimetypeForCache(final String mimetype) {
            final String[] mimetypes = getCrawlerDocumentCacheHtmlMimetypes().split(",");
            if (mimetypes.length == 1 && StringUtil.isBlank(mimetypes[0])) {
                return true;
            }
            return stream(mimetypes).get(stream -> stream.anyMatch(s -> s.equalsIgnoreCase(mimetype)));
        }
    
        String getCrawlerDocumentCacheSupportedMimetypes();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 88.2K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

        /** 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;
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. src/main/resources/fess_thumbnail.xml

    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.sheet.3"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.sheet.4"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"application/vnd.ms-excel.workspace.3"</arg>
    		</postConstruct>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. internal/config/compress/legacy.go

    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: strings.Join(cfg.Extensions, config.ValueSeparator),
    		},
    		config.KV{
    			Key:   MimeTypes,
    			Value: strings.Join(cfg.MimeTypes, config.ValueSeparator),
    		},
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Sep 06 17:37:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            final String mimeType;
            if (response instanceof HtmlResponse) {
                mimeType = "text/html";
            } else if (response instanceof JsonResponse) {
                mimeType = "application/json";
            } else if (response instanceof XmlResponse) {
                mimeType = "text/xml";
            } else if (response instanceof StreamResponse) {
                mimeType = "application/octet-stream";
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                    }
                    final String filename = head.getPath();
                    final String mimeType = mimeTypeHelper.getContentType(null, filename);
                    if (mimeType != null) {
                        final Extractor extractor = extractorFactory.getExtractor(mimeType);
                        if (extractor != null) {
                            InputStream is = null;
                            try {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         * @param mimeType The MIME type of the content.
         * @return The file extension including the dot (e.g., ".gif"), or empty string if unknown.
         */
        protected String getExtensionFromMimeType(final String mimeType) {
            if (mimeType == null) {
                return "";
            }
            return switch (mimeType) {
            case "image/gif" -> ".gif";
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 16K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            stream(config.getPermissions()).of(stream -> stream.forEach(p -> roleTypeList.add(p)));
            defaultDataMap.put(fessConfig.getIndexFieldRole(), roleTypeList);
            // mimetype
            defaultDataMap.put(fessConfig.getIndexFieldMimetype(), mimeType);
            // title
            // content
            // cache
            // digest
            // host
            // site
            // url
            // anchor
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top