|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.seo.service.FriendlyUrlUtils
public final class FriendlyUrlUtils
Friendly URL Utils
| Method Summary | |
|---|---|
static String |
cleanSlash(String strUrl)
Clean leading slash character |
static String |
convertToFriendlyUrl(String strSource)
Normalize a string to a friendly URL |
static String |
replaceByFriendlyUrl(String strSource,
Map<String,String> map,
String strBaseUrl)
Replace in the source all URL found in the map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String convertToFriendlyUrl(String strSource)
strSource - The source
public static String replaceByFriendlyUrl(String strSource,
Map<String,String> map,
String strBaseUrl)
strSource - The sourcemap - The Map that contains Friendly URL mappingstrBaseUrl - The base URL
public static String cleanSlash(String strUrl)
strUrl - The source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||