public class SiteMap extends AbstractSiteMap
AbstractSiteMap.SitemapType
url
Constructor and Description |
---|
SiteMap() |
SiteMap(String url) |
SiteMap(String url,
String lastModified) |
SiteMap(URL url) |
SiteMap(URL url,
Date lastModified) |
Modifier and Type | Method and Description |
---|---|
void |
addSiteMapUrl(SiteMapURL url) |
String |
getBaseUrl() |
Collection<SiteMapURL> |
getSiteMapUrls() |
boolean |
isIndex() |
String |
toString() |
convertToDate, getFullDateFormat, getLastModified, getType, getUrl, isProcessed, setLastModified, setLastModified, setProcessed, setType
public SiteMap()
public SiteMap(URL url)
public SiteMap(String url)
public Collection<SiteMapURL> getSiteMapUrls()
public String getBaseUrl()
public void addSiteMapUrl(SiteMapURL url)
url
- The SitemapUrl to be added to the Sitemap.public boolean isIndex()
isIndex
in class AbstractSiteMap
Copyright © 2009–2016 Crawler-Commons. All rights reserved.