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)
Parse a sitemap, given the content bytes and the 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)
Parse a sitemap, given the MIME type, the content bytes, and the URL.
|
AbstractSiteMap |
SiteMapParser.parseSiteMap(URL onlineSitemapUrl)
Returns a SiteMap or SiteMapIndex given an online sitemap URL
|
protected AbstractSiteMap |
SiteMapParser.processGzip(URL url,
byte[] response)
Decompress the gzipped content and process the resulting XML Sitemap.
|
protected AbstractSiteMap |
SiteMapParser.processXml(URL sitemapUrl,
byte[] xmlContent)
Parse the given XML content.
|
protected AbstractSiteMap |
SiteMapParser.processXml(URL sitemapUrl,
InputSource is)
Parse the given XML content.
|
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 © 2009–2016 Crawler-Commons. All rights reserved.