- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 33 for mimetypes (0.06 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
assertTrue("Command should contain mimetype: " + mimeType, expandedCommand.contains(mimeType)); assertFalse("Command should not contain placeholder", expandedCommand.contains("${mimetype}")); } } // Test command list with mimetype placeholder @Test public void test_commandList_withMimetypePlaceholder() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
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: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (0) -
src/main/resources/fess_config.properties
# MIME types for HTML document cache. crawler.document.cache.html.mimetypes=text/html # Extension-to-MIME-type override mappings for MIME type detection (one per line: .ext=mime/type). crawler.document.mimetype.extension.overrides= # indexer # Whether to enable thread dump for the indexer. indexer.thread.dump.enabled=true
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 59.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
/** 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. */ String CRAWLER_DOCUMENT_MIMETYPE_EXTENSION_OVERRIDES = "crawler.document.mimetype.extension.overrides"; /** The key of the configuration. e.g. true */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 576.9K bytes - Click Count (2) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
src/main/resources/crawler/mimetype.xml
Shinsuke Sugaya <******@****.***> 1769245593 +0900
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 24 09:06:33 GMT 2026 - 369 bytes - Click Count (0) -
src/main/resources/fess_thumbnail.xml
<arg>"mimetype"</arg> <arg>"application/vnd.ms-excel.sheet.3"</arg> </postConstruct> <postConstruct name="addCondition"> <arg>"mimetype"</arg> <arg>"application/vnd.ms-excel.sheet.4"</arg> </postConstruct> <postConstruct name="addCondition"> <arg>"mimetype"</arg> <arg>"application/vnd.ms-excel.workspace.3"</arg> </postConstruct> <postConstruct name="addCondition"> <arg>"mimetype"</arg>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
"image/svg+xml" // }; for (String mimeType : mimeTypesWithPlus) { // Create proper escaped pattern String escapedPattern = mimeType.replace("+", "\\+"); // Verify escaped pattern matches assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches()); // Verify unescaped pattern does NOT matchCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K 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: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// When same key is added multiple times, patterns are combined with | generator.addCondition("mimetype", "image/jpeg"); generator.addCondition("mimetype", "image/png"); generator.addCondition("mimetype", "image/svg" + "\\" + "+xml"); // Test: All configured MIME types should match Map<String, Object> jpegDocMap = new HashMap<>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0)