Package org.ametys.cms
Class FilterNameHelper
- java.lang.Object
-
- org.ametys.cms.FilterNameHelper
-
public final class FilterNameHelper extends Object
Helper for filtering name in order to use it into a JCR node name or into a segment of an UR.
-
-
Field Summary
Fields Modifier and Type Field Description private static Pattern
__PAGE_PATTERN
-
Constructor Summary
Constructors Modifier Constructor Description private
FilterNameHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
filterName(String name)
Filter a name for using it into an URI.
-
-
-
Field Detail
-
__PAGE_PATTERN
private static final Pattern __PAGE_PATTERN
-
-
Constructor Detail
-
FilterNameHelper
private FilterNameHelper()
-
-
Method Detail
-
filterName
public static String filterName(String name)
Filter a name for using it into an URI.- Parameters:
name
- the name to filter.- Returns:
- the name filtered.
-
-