Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getType (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

                    final MediaType mediaTypeFromFilename = mimeTypes.detect(null, metadata);
                    return mediaTypeFromFilename.getType() + "/" + mediaTypeFromFilename.getSubtype();
                }
                return mediaType.getType() + "/" + mediaType.getSubtype();
            } catch (final IOException e) {
                throw new MimeTypeException("Could not detect a content type.", e);
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

            return sitemapList.toArray(new Sitemap[sitemapList.size()]);
        }
    
        /**
         * Sets the type of this sitemap set.
         * @param type the type to set (URLSET or INDEX)
         */
        public void setType(final String type) {
            this.type = type;
        }
    
        /**
         * Checks if this sitemap set is of type URLSET.
         * @return true if this is a URLSET, false otherwise
         */
        public boolean isUrlSet() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top