public class CmsXmlSitemapCache extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static CmsXmlSitemapCache |
INSTANCE
Static instance for this class.
|
| Constructor and Description |
|---|
CmsXmlSitemapCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the cache.
|
java.lang.String |
get(java.lang.String key)
Gets the cached entry for the given key (the key will normally be the root path of a sitemap.xml file).
|
void |
put(java.lang.String key,
java.lang.String value)
Stores an XML sitemap in the cache.
|
public static final CmsXmlSitemapCache INSTANCE
public CmsXmlSitemapCache()
public void clear()
public java.lang.String get(java.lang.String key)
key - the keypublic void put(java.lang.String key, java.lang.String value)
key - the XML sitemap key (usually the root path of the sitemap.xml)value - the XML sitemap content