|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.site.xmlsitemap.CmsPathIncludeExcludeSet
public class CmsPathIncludeExcludeSet
A helper class used for calculating which paths need to be included or excluded from the XML sitemap generation.
| Constructor Summary | |
|---|---|
CmsPathIncludeExcludeSet()
|
|
| Method Summary | |
|---|---|
void |
addExclude(java.lang.String exclude)
Adds an excluded path. |
void |
addInclude(java.lang.String include)
Adds an included path. |
java.util.Set<java.lang.String> |
getIncludeRoots()
Gets the root include paths, i.e. those include paths which don't have an ancestor path which is also an include path. |
boolean |
isExcluded(java.lang.String path)
Checks if the given path is excluded by the include/exclude configuration. |
protected java.lang.String |
normalizePath(java.lang.String path)
Converts a path to a normalized form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsPathIncludeExcludeSet()
| Method Detail |
|---|
public void addExclude(java.lang.String exclude)
exclude - the path to addpublic void addInclude(java.lang.String include)
include - the path to addpublic java.util.Set<java.lang.String> getIncludeRoots()
public boolean isExcluded(java.lang.String path)
path - the path to check
protected java.lang.String normalizePath(java.lang.String path)
path - the path to normalize
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||