Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mimeTypeHelper (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            }
    
        }
    
        protected String getMimeType(final DeferredFileOutputStream out) throws IOException {
            final MimeTypeHelper mimeTypeHelper = crawlerContainer.getComponent("mimeTypeHelper");
            try (InputStream is = getContentInputStream(out)) {
                return mimeTypeHelper.getContentType(is, filename);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. 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)
Back to top