- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for mimetype (0.36 sec)
-
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. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.1K bytes - Viewed (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()) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (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";Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 04 08:02:36 UTC 2025 - 16K bytes - Viewed (0) -
MIGRATION.md
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 needed }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 12:40:11 UTC 2025 - 23.2K bytes - Viewed (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; }; } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K bytes - Viewed (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()) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 12.8K bytes - Viewed (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>Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 25K bytes - Viewed (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
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
/** * Fields to fetch for access result list without data. */ private static final String[] ACCESS_RESULT_FIELDS = { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }; /** * Creates a new instance of OpenSearchDataService.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
return false; } } // Check MIME type condition String mimeTypeCondition = conditions.get("mimeType"); if (mimeTypeCondition != null && responseData.getMimeType() != null) { if (!responseData.getMimeType().matches(mimeTypeCondition)) { return false; }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0)