- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for mimeType (0.3 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java
final String mimeType = "text/plain"; assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType)); contentLengthHelper.addMaxLength(mimeType, 1000L); assertEquals(1000L, contentLengthHelper.getMaxLength(mimeType)); } public void test_getMaxLength_blank() { String mimeType; mimeType = null;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java
*/ @Override public String getMimeType() { return mimeType; } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.entity.AccessResult#setMimeType(java.lang.String) */ @Override public void setMimeType(final String mimeType) { this.mimeType = mimeType; } /* * (non-Javadoc) *
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
this.crawlerContainer = crawlerContainer; this.in = in; this.params = params; } public ExtractorBuilder mimeType(final String mimeType) { this.mimeType = mimeType; return this; } public ExtractorBuilder filename(final String filename) { this.filename = filename; return this; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
final RegexRule regexRule = new RegexRule(); regexRule.defaultRule = true; regexRule.allRequired = true; regexRule.addRule("url", Pattern.compile("http:.*")); regexRule.addRule("mimeType", Pattern.compile("text/html")); assertTrue(regexRule.match(getTestData1())); assertTrue(regexRule.match(getTestData2())); assertTrue(regexRule.match(getTestData3()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/FileTypeHelper.java
logger.debug("loaded filetype: {}", mimetypeMap); } } public void add(final String mimetype, final String filetype) { mimetypeMap.put(mimetype, filetype); } public String get(final String mimetype) { final String filetype = mimetypeMap.get(mimetype); if (StringUtil.isBlank(filetype)) { return defaultValue; } return filetype; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java
public void addMaxLength(final String mimeType, final long maxLength) { if (StringUtil.isBlank(mimeType)) { throw new CrawlerSystemException("MIME type is a blank."); } if (maxLength < 0) { throw new CrawlerSystemException("The value of maxLength is invalid."); } maxLengthMap.put(mimeType, maxLength); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.9K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K 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: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
} final String filename = head.getPath(); final String mimeType = mimeTypeHelper.getContentType(null, filename); if (mimeType != null) { final Extractor extractor = extractorFactory.getExtractor(mimeType); if (extractor != null) { InputStream is = null; try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0)