public final class FriendlyUrlUtils extends Object
Modifier and Type | Method and Description |
---|---|
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
|
public static String convertToFriendlyUrl(String strSource)
strSource
- The sourcepublic static String replaceByFriendlyUrl(String strSource, Map<String,String> map, String strBaseUrl)
strSource
- The sourcemap
- The Map that contains Friendly URL mappingstrBaseUrl
- The base URLCopyright © 2015 City of Paris. All rights reserved.