Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for mimeTypes (0.07 sec)

  1. 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)
  2. docs/compression/README.md

    ```bash
    ~ mc admin config get myminio compression
    compression extensions=".txt,.log,.csv,.json,.tar,.xml,.bin" mime_types="text/*,application/json,application/xml"
    ```
    
    Default config includes most common highly compressible content extensions and mime-types.
    
    ```bash
    ~ mc admin config set myminio compression extensions=".pdf" mime_types="application/pdf"
    ```
    
    To show help on setting compression config values.
    
    ```bash
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. 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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    }
    
    private fun Main.mediaType(): MediaType? {
      val mimeType =
        headers?.let {
          for (header in it) {
            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/resources/crawler/rule.xml

    		</property>
    		<property name="allRequired">true</property>
    		<postConstruct name="addRule">
    			<arg>"url"</arg>
    			<arg>"http[s]?:.*"</arg>
    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>"mimeType"</arg>
    			<!-- Supported MIME type -->
    			<arg>"text/html"</arg>
    		</postConstruct>
    	</component>
    
    	<component name="webFileRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule" >
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  6. 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)
  7. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist_edit.jsp

                                        <label for="doc.mimetype" class="col-sm-3 text-sm-right col-form-label">mimetype</label>
                                        <div class="col-sm-9">
                                            <la:errors property="doc.mimetype"/>
                                            <la:text styleId="doc.mimetype" property="doc.mimetype" styleClass="form-control"/>
                                        </div>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 24.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
            return buf.toString();
        }
    
        /**
         * Sets the MIME type.
         * @param mimeType The MIME type.
         */
        public void setMimeType(final String mimeType) {
            this.mimeType = mimeType;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
Back to top