Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for mimetype (0.17 sec)

  1. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

         *
         * @param mimetype the MIME type to look up
         * @return the corresponding file type, or the default value if not found
         */
        public String get(final String mimetype) {
            final String filetype = mimetypeMap.get(mimetype);
            if (StringUtil.isBlank(filetype)) {
                return defaultValue;
            }
            return filetype;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            final String mimeType;
            if (response instanceof HtmlResponse) {
                mimeType = "text/html";
            } else if (response instanceof JsonResponse) {
                mimeType = "application/json";
            } else if (response instanceof XmlResponse) {
                mimeType = "text/xml";
            } else if (response instanceof StreamResponse) {
                mimeType = "application/octet-stream";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            for (String mimeType : supportedTypes) {
                Map<String, Object> docMap = new HashMap<>();
                docMap.put("mimetype", mimeType);
                assertTrue("Should support " + mimeType, thumbnailGenerator.isTarget(docMap));
            }
    
            for (String mimeType : unsupportedTypes) {
                Map<String, Object> docMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

         * @param mimeType The MIME type for which to set the maximum length
         * @param maxLength The maximum content length in bytes
         * @throws CrawlerSystemException if the MIME type is blank or maxLength is negative
         */
        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

        }
    
        /**
         * Sets the MIME type of the content to extract.
         *
         * @param mimeType the MIME type to set
         * @return this builder instance for method chaining
         */
        public ExtractorBuilder mimeType(final String mimeType) {
            this.mimeType = mimeType;
            return this;
        }
    
        /**
         * Sets the filename of the content to extract.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

         */
        @Override
        public String getMimeType() {
            return mimeType;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#setMimeType(java.lang.String)
         */
        @Override
        public void setMimeType(final String mimeType) {
            this.mimeType = mimeType;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

                builder.field(HTTP_STATUS_CODE, httpStatusCode);
            }
            if (method != null) {
                builder.field(METHOD, method);
            }
            if (mimeType != null) {
                builder.field(MIME_TYPE, mimeType);
            }
            if (createTime != null) {
                builder.field(CREATE_TIME, createTime);
            }
            if (executionTime != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top