- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for mimeTypeHelper (0.16 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java
final MimeTypeHelper mimeTypeHelper = container.getComponent("mimeTypeHelper"); if (path != null) { try (final InputStream is = ResourceUtil.getResourceAsStream(path)) { assertEquals(expect, mimeTypeHelper.getContentType(is, name)); } } else { assertEquals(expect, mimeTypeHelper.getContentType(null, name)); } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
if (file.canRead()) { final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper"); try (final InputStream is = new BufferedInputStream(new FileInputStream(file))) { responseData.setMimeType(mimeTypeHelper.getContentType(is, file.getName())); } catch (final Exception e) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
} } if (file.canRead()) { final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper"); if (includeContent) { if (logger.isDebugEnabled()) { logger.debug("Parsing SmbFile Content: {}", filePath);
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/extractor/impl/EmlExtractor.java
protected void appendAttachment(final StringBuilder buf, final BodyPart bodyPart) { final MimeTypeHelper mimeTypeHelper = getMimeTypeHelper(); final ExtractorFactory extractorFactory = getExtractorFactory(); try { final String filename = getDecodeText(bodyPart.getFileName()); final String mimeType = mimeTypeHelper.getContentType(null, filename); if (mimeType != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 10.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
} protected void extractFile(final String filename, final PDEmbeddedFile embeddedFile, final StringWriter writer) { final MimeTypeHelper mimeTypeHelper = getMimeTypeHelper(); final ExtractorFactory extractorFactory = getExtractorFactory(); final String mimeType = mimeTypeHelper.getContentType(null, filename); if (mimeType != null) { final Extractor extractor = extractorFactory.getExtractor(mimeType);
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/client/storage/StorageClient.java
} final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper"); try (final InputStream is = responseData.getResponseBody()) { responseData.setMimeType(mimeTypeHelper.getContentType(is, statObject.object())); } catch (final Exception e) { responseData.setMimeType(mimeTypeHelper.getContentType(null, statObject.object()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} } if (file.canRead()) { final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper"); if (includeContent) { if (logger.isDebugEnabled()) { logger.debug("Parsing SmbFile Content: {}", filePath);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper"); try (InputStream is = new FileInputStream(tempFile)) { responseData.setMimeType(mimeTypeHelper.getContentType(is, file.getName())); } catch (final Exception e) { responseData.setMimeType(mimeTypeHelper.getContentType(null, file.getName()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:29:26 UTC 2024 - 41K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
logger.info("endpoint: {}", endpoint); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)// .singleton("storageClient", StorageClient.class); storageClient = container.getComponent("storageClient"); Map<String, Object> params = new HashMap<>();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0)