- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 22 for mimeTypes (0.07 seconds)
-
cmd/object_api_suite_test.go
} } func enableCompression(t *testing.T, encrypt bool, mimeTypes []string, extensions []string) { // Enable compression and exec... globalCompressConfigMu.Lock() globalCompressConfig.Enabled = true globalCompressConfig.MimeTypes = mimeTypes globalCompressConfig.Extensions = extensions globalCompressConfig.AllowEncrypted = encrypt globalCompressConfigMu.Unlock()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 34.5K bytes - Click Count (0) -
cmd/object-api-utils.go
// Filter compression includes. if len(cfg.Extensions) == 0 && len(cfg.MimeTypes) == 0 { // Nothing to filter, include everything. return false } if len(cfg.Extensions) > 0 && hasStringSuffixInSlice(objStr, cfg.Extensions) { // Matched an extension to compress, do not exclude. return false } if len(cfg.MimeTypes) > 0 && hasPattern(cfg.MimeTypes, contentType) { // Matched an MIME type to compress, do not exclude.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
} /** * Sets the MIME type of the content to extract. * * @param mimeType the MIME type to set * @return this builder instance for method chaining */ public ExtractorBuilder mimeType(final String mimeType) { this.mimeType = mimeType; return this; } /** * Sets the filename of the content to extract. *Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 10.1K bytes - Click Count (0) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
try { final String filename = getDecodeText(bodyPart.getFileName()); final String mimeType = mimeTypeHelper.getContentType(null, filename); if (mimeType != null) { final Extractor extractor = extractorFactory.getExtractor(mimeType); if (extractor != null) { try (final InputStream in = bodyPart.getInputStream()) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 12.6K bytes - Click Count (0) -
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>Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 25K bytes - Click Count (0) -
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) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
final ExtractorFactory extractorFactory = getExtractorFactory(); final String mimeType = mimeTypeHelper.getContentType(null, filename); if (mimeType != null) { final Extractor extractor = extractorFactory.getExtractor(mimeType); if (extractor != null) { try (COSInputStream is = embeddedFile.createInputStream()) {
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 12.8K bytes - Click Count (0) -
MIGRATION.md
# Transform to Fess format fess_doc = { "url": doc.get("url", ""), "title": doc.get("title", ""), "content": doc.get("content", ""), "mimetype": doc.get("mimetype", "text/html"), "filetype": doc.get("filetype", "html"), "created": doc.get("@timestamp", ""), "timestamp": doc.get("@timestamp", ""), # Add custom fields as neededCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 06 12:40:11 GMT 2025 - 23.2K bytes - Click Count (0)