- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for getMimeType (0.28 sec)
-
src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java
if (extractorFactory == null) { throw new FessSystemException("Could not find extractorFactory."); } Extractor extractor = extractorFactory.getExtractor(responseData.getMimeType()); if (extractor == null) { extractor = ComponentUtil.getComponent("tikaExtractor"); if (extractor == null) { throw new FessSystemException("Could not find tikaExtractor.");
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/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java
final AccessResult accessResult3 = dataService.getAccessResult("id1", "http://www.id1.com/"); assertNotNull(accessResult3); assertEquals("text/html", accessResult3.getMimeType()); dataService.delete("id1"); final AccessResult accessResult4 = dataService.getAccessResult("id1", "http://www.id1.com/"); assertNull(accessResult4); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java
final ResultData resultData = transformer.transform(responseData); if (resultData == null) { logger.warn("No data for ({}, {})", responseData.getUrl(), responseData.getMimeType()); } else { final UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue(); processResult(urlQueue, responseData, resultData); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
} return outputFile.exists(); }); } 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/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
assertNotNull(responseData.getLastModified()); assertEquals(Constants.GET_METHOD, responseData.getMethod()); assertEquals("text/plain", responseData.getMimeType()); assertTrue(responseData.getUrl().endsWith("text1.txt")); final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
public long getContentLength() { return contentLength; } 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; }
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/client/fs/FileSystemClient.java
} if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(responseData.getSessionId()); final Extractor extractor = getExtractor(responseData); final String mimeType = responseData.getMimeType(); final StringBuilder contentMetaBuf = new StringBuilder(1000); final Map<String, Object> dataMap = new HashMap<>(); final Map<String, Object> metaDataMap = new HashMap<>(); String content;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 23.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
} } if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over "
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0)