Package | Description |
---|---|
crawlercommons.sitemaps |
Sitemaps package provides all classes relevant to focused sitemap parsing,
url definition and processing.
|
Modifier and Type | Class and Description |
---|---|
class |
SiteMap |
class |
SiteMapIndex |
Modifier and Type | Method and Description |
---|---|
AbstractSiteMap |
SiteMapIndex.getSitemap(URL url)
Returns the Sitemap that has the given URL.
|
AbstractSiteMap |
SiteMapIndex.nextUnprocessedSitemap() |
AbstractSiteMap |
SiteMapParser.parseSiteMap(byte[] content,
URL url) |
AbstractSiteMap |
SiteMapParser.parseSiteMap(String contentType,
byte[] content,
AbstractSiteMap sitemap)
Returns a processed copy of an unprocessed sitemap object, i.e.
|
AbstractSiteMap |
SiteMapParser.parseSiteMap(String contentType,
byte[] content,
URL url) |
AbstractSiteMap |
SiteMapParser.parseSiteMap(URL onlineSitemapUrl)
Returns a SiteMap or SiteMapIndex given an online sitemap URL
Please note that this method is a static method which goes online and fetches the sitemap then parses it This method is a convenience method for a user who has a sitemap URL and wants a "Keep it simple" way to parse it. |
Modifier and Type | Method and Description |
---|---|
Collection<AbstractSiteMap> |
SiteMapIndex.getSitemaps() |
Modifier and Type | Method and Description |
---|---|
AbstractSiteMap |
SiteMapParser.parseSiteMap(String contentType,
byte[] content,
AbstractSiteMap sitemap)
Returns a processed copy of an unprocessed sitemap object, i.e.
|
Copyright © 2015. All rights reserved.