Package | Description |
---|---|
crawlercommons.sitemaps |
Sitemaps package provides all classes relevant to focused sitemap parsing,
url definition and processing.
|
Modifier and Type | Method and Description |
---|---|
Collection<SiteMapURL> |
SiteMap.getSiteMapUrls() |
Modifier and Type | Method and Description |
---|---|
void |
SiteMap.addSiteMapUrl(SiteMapURL url) |
Modifier and Type | Method and Description |
---|---|
void |
SiteMapParser.walkSiteMap(AbstractSiteMap sitemap,
java.util.function.Consumer<SiteMapURL> action)
Traverse a sitemap, recursively fetching and traversing the content of
any enclosed sitemap index, and performing the specified action for each
sitemap URL until all URLs have been processed or the action throws an
exception.
|
void |
SiteMapParser.walkSiteMap(URL onlineSitemapUrl,
java.util.function.Consumer<SiteMapURL> action)
Fetch a sitemap from the specified URL, recursively fetching and
traversing the content of any enclosed sitemap index, and performing the
specified action for each sitemap URL until all URLs have been processed
or the action throws an exception.
|
Copyright © 2009–2021 Crawler-Commons. All rights reserved.