Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for mimetypes (0.05 sec)

  1. 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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  2. src/main/resources/fess_config.properties

    index.field.created=created
    # Field name for timestamp in the index.
    index.field.timestamp=timestamp
    # Field name for label in the index.
    index.field.label=label
    # Field name for MIME type in the index.
    index.field.mimetype=mimetype
    # Field name for parent ID in the index.
    index.field.parent_id=parent_id
    # Field name for important content in the index.
    index.field.important_content=important_content
    # Field name for content in the index.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. text/html */
        String CRAWLER_DOCUMENT_CACHE_SUPPORTED_MIMETYPES = "crawler.document.cache.supported.mimetypes";
    
        /** The key of the configuration. e.g. text/html */
        String CRAWLER_DOCUMENT_CACHE_HTML_MIMETYPES = "crawler.document.cache.html.mimetypes";
    
        /** The key of the configuration. e.g. true */
        String INDEXER_THREAD_DUMP_ENABLED = "indexer.thread.dump.enabled";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                }
    
                Object mimeType = docMap.get("mimetype");
                if (mimeType == null) {
                    return false;
                }
    
                String mimeTypeStr = mimeType.toString();
                // Support PDF and common image formats
                return "application/pdf".equals(mimeTypeStr) || "image/jpeg".equals(mimeTypeStr) || "image/png".equals(mimeTypeStr);
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. 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";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

         *
         * @param mimetype the MIME type to map (e.g., "application/pdf")
         * @param filetype the file type classification (e.g., "pdf")
         */
        public void add(final String mimetype, final String filetype) {
            mimetypeMap.put(mimetype, filetype);
        }
    
        /**
         * Retrieves the file type for a given MIME type.
         *
         * @param mimetype the MIME type to look up
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

            assertArgumentNotEmpty("path", path);
    
            final InputStream is = ResourceUtil.getResourceAsStream(path);
            try {
                final String mimetype = URLConnection.guessContentTypeFromStream(is);
                if (mimetype != null) {
                    return mimetype;
                }
                return URLConnection.guessContentTypeFromName(path);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            putResultDataBody(dataMap, fessConfig.getIndexFieldAnchor(), StringUtil.EMPTY);
            // mimetype
            putResultDataBody(dataMap, fessConfig.getIndexFieldMimetype(), mimeType);
            if (fileTypeHelper != null) {
                // filetype
                putResultDataBody(dataMap, fessConfig.getIndexFieldFiletype(), fileTypeHelper.get(mimeType));
            }
            // content_length
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

         */
        protected boolean isImageMimeType(final ResponseData responseData) {
            final String mimeType = responseData.getMimeType();
            if (mimeType == null) {
                return true;
            }
    
            return switch (mimeType) {
            case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true;
            default -> false;
            };
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top