Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getMimeType (0.12 sec)

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

                out.flush();
    
                Extractor extractor = StringUtil.isBlank(mimeType) ? null : extractorFactory.getExtractor(mimeType);
                if (extractor == null) {
                    final String detectedMimeType = getMimeType(out);
                    extractor = extractorFactory.getExtractor(detectedMimeType);
                    if (extractor == null) {
                        if (logger.isDebugEnabled()) {
    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-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            assertNotNull(accessResult5);
            assertNotNull(accessResult6);
            assertEquals("text/html", accessResult5.getMimeType());
            assertEquals("text/html", accessResult6.getMimeType());
    
            dataService.delete("id1");
    
            assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                } else {
                    name = URLDecoder.decode(url, charset);
                }
    
                final String contentDispositionType;
                if (inlineMimeTypeSet.contains(responseData.getMimeType())) {
                    contentDispositionType = "inline";
                } else {
                    contentDispositionType = "attachment";
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            return resultData;
        }
    
        protected boolean isHtml(final ResponseData responseData) {
            final String mimeType = responseData.getMimeType();
            if ("text/html".equals(mimeType) || "application/xhtml+xml".equals(mimeType)) {
                return true;
            }
            return false;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.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: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            String url = responseData.getUrl();
            final String indexingTarget = crawlingConfig.getIndexingTarget(url);
            url = pathMappingHelper.replaceUrl(sessionId, url);
            final String mimeType = responseData.getMimeType();
    
            final FieldConfigs fieldConfigs = new FieldConfigs(crawlingConfig.getConfigParameterMap(ConfigName.FIELD));
            final Map<String, String> xpathConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.XPATH);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top