public abstract class AbstractSiteMap extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSiteMap.SitemapType
Various Sitemap types
|
Constructor and Description |
---|
AbstractSiteMap() |
Modifier and Type | Method and Description |
---|---|
static Date |
convertToDate(String date)
Convert the given date (given in an acceptable DateFormat), null if the
date is not in the correct format.
|
static DateFormat |
getFullDateFormat() |
Date |
getLastModified() |
AbstractSiteMap.SitemapType |
getType() |
URL |
getUrl() |
boolean |
isIndex() |
boolean |
isProcessed() |
void |
setLastModified(Date lastModified) |
void |
setLastModified(String lastModified) |
void |
setProcessed(boolean processed) |
void |
setType(AbstractSiteMap.SitemapType type) |
protected URL url
public static DateFormat getFullDateFormat()
public boolean isIndex()
public URL getUrl()
public void setType(AbstractSiteMap.SitemapType type)
type
- the Sitemap type to setpublic AbstractSiteMap.SitemapType getType()
public void setProcessed(boolean processed)
processed
- - indicate if the Sitemap has been processed.public boolean isProcessed()
public void setLastModified(Date lastModified)
lastModified
- - the lastModified to setpublic void setLastModified(String lastModified)
lastModified
- - the lastModified to setpublic Date getLastModified()
Copyright © 2009–2016 Crawler-Commons. All rights reserved.