Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SitemapUrl (0.07 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

        public boolean equals(final Object obj) {
            if (!(obj instanceof final SitemapUrl sitemapUrl)) {
                return false;
            }
            if (StringUtil.equals(loc, sitemapUrl.loc) && StringUtil.equals(changefreq, sitemapUrl.changefreq)
                    && StringUtil.equals(lastmod, sitemapUrl.lastmod) && StringUtil.equals(priority, sitemapUrl.priority)) {
                return true;
            }
            return false;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("monthly", ((SitemapUrl) sitemaps[0]).getChangefreq());
            assertEquals("0.8", ((SitemapUrl) sitemaps[0]).getPriority());
    
            assertNull(sitemaps[1].getLastmod());
            assertEquals("http://www.example.com/catalog?item=12&desc=vacation_hawaii", sitemaps[1].getLoc());
            assertEquals("weekly", ((SitemapUrl) sitemaps[1]).getChangefreq());
            assertNull(((SitemapUrl) sitemaps[1]).getPriority());
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                    if (StringUtil.isNotBlank(url) && (url.startsWith("http://") || url.startsWith("https://"))) {
                        final SitemapUrl sitemapUrl = new SitemapUrl();
                        sitemapUrl.setLoc(url);
                        sitemapSet.addSitemap(sitemapUrl);
                    }
                }
                return sitemapSet;
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

            this.lastmod = lastmod;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final SitemapFile sitemapUrl)) {
                return false;
            }
            if (StringUtil.equals(loc, sitemapUrl.loc) && StringUtil.equals(lastmod, sitemapUrl.lastmod)) {
                return true;
            }
            return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top