Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for mimeTypes (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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();
    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)
  2. 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";
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 525.7K bytes
    - Click Count (2)
  3. 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)
  4. 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)
  5. 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)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                    }
                    final String filename = entry.getName();
                    final String mimeType = mimeTypeHelper.getContentType(null, filename);
                    if (mimeType != null) {
                        final Extractor extractor = extractorFactory.getExtractor(mimeType);
                        if (extractor != null) {
                            try {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                    }
                    final String filename = entry.getName();
                    final String mimeType = mimeTypeHelper.getContentType(null, filename);
                    if (mimeType != null) {
                        final Extractor extractor = extractorFactory.getExtractor(mimeType);
                        if (extractor != null) {
                            try {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. 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;
            };
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final String mimeType = responseData.getMimeType();
            if (logger.isDebugEnabled()) {
                logger.debug("mimeType: {}", mimeType);
            }
            if (mimeType == null) {
                response.contentTypeOctetStream();
                return;
            }
            if (mimeType.startsWith("text/")) {
                final String charset = responseData.getCharSet();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  10. 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
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
Back to Top