public class SiteMapIndex extends AbstractSiteMap
AbstractSiteMap.SitemapTypeurl| Constructor and Description |
|---|
SiteMapIndex() |
SiteMapIndex(URL url) |
| Modifier and Type | Method and Description |
|---|---|
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, setLastModified, setLastModified, setProcessed, setTypepublic SiteMapIndex()
public SiteMapIndex(URL url)
public Collection<AbstractSiteMap> getSitemaps()
public AbstractSiteMap getSitemap(URL url)
url - - The Sitemap's URLpublic boolean hasUnprocessedSitemap()
public AbstractSiteMap nextUnprocessedSitemap()
public boolean isIndex()
isIndex in class AbstractSiteMapCopyright © 2009–2016 Crawler-Commons. All rights reserved.