- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 59 for mimeType (0.14 sec)
-
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) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jun 04 08:42:49 UTC 2020 - 4.6K 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) -
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
assertArgumentNotEmpty("path", path); final InputStream is = ResourceUtil.getResourceAsStream(path); try { final String mimetype = URLConnection.guessContentTypeFromStream(is); if (mimetype != null) { return mimetype; } return URLConnection.guessContentTypeFromName(path); } catch (final IOException e) { throw new IORuntimeException(e);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/resources/mapping/data.json
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 963 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
public void setContentLength(final long contentLength) { this.contentLength = contentLength; } public String getMimeType() { return mimeType; } public void setMimeType(final String contentType) { mimeType = contentType; } public String getUrl() { return url; } public void setUrl(final String url) { this.url = url;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 5.8K 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: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java
} final String filename = entry.getName(); final String mimeType = mimeTypeHelper.getContentType(null, filename); if (mimeType != null) { final Extractor extractor = extractorFactory.getExtractor(mimeType); if (extractor != null) { try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 4.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java
} final String filename = entry.getName(); final String mimeType = mimeTypeHelper.getContentType(null, filename); if (mimeType != null) { final Extractor extractor = extractorFactory.getExtractor(mimeType); if (extractor != null) { try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 4.4K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 40.2K bytes - Viewed (0)