public class SiteMapIndex extends AbstractSiteMap
AbstractSiteMap.SitemapTypeurl| Constructor and Description |
|---|
SiteMapIndex() |
SiteMapIndex(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSitemap(AbstractSiteMap sitemap)
Add this Sitemap to the list of Sitemaps,
|
AbstractSiteMap |
getSitemap(URL url)
Returns the Sitemap that has the given URL.
|
Collection<AbstractSiteMap> |
getSitemaps() |
boolean |
hasUnprocessedSitemap() |
boolean |
isIndex() |
AbstractSiteMap |
nextUnprocessedSitemap() |
String |
toString() |
convertToDate, getFullDateFormat, getLastModified, getType, getUrl, isProcessed, normalizeRSSTimestamp, setLastModified, setLastModified, setProcessed, setTypepublic SiteMapIndex()
public SiteMapIndex(URL url)
public Collection<AbstractSiteMap> getSitemaps()
public void addSitemap(AbstractSiteMap sitemap)
sitemap - - Sitemap to be added to the list of Sitemapspublic AbstractSiteMap getSitemap(URL url)
url - - The Sitemap's URLpublic boolean hasUnprocessedSitemap()
public AbstractSiteMap nextUnprocessedSitemap()
public boolean isIndex()
isIndex in class AbstractSiteMapCopyright © 2009–2017 Crawler-Commons. All rights reserved.