public class NoExtURLPathTitleCreator extends NoExtURLCreator
| Constructor and Description |
|---|
NoExtURLPathTitleCreator() |
| Modifier and Type | Method and Description |
|---|---|
String |
createURL(ContentContext ctx,
MenuElement currentPage)
create url to a page.
|
String |
createURLKey(String url)
transform url to a unic string represent information (sp. : without extension).
|
protected boolean |
fromDefaultLanguage() |
String |
getFormat(ContentContext ctx,
String url)
get the format of url (html, png, pdf...)
|
cleanString, mainprotected boolean fromDefaultLanguage()
fromDefaultLanguage in class NoExtURLCreatorpublic String createURL(ContentContext ctx, MenuElement currentPage) throws Exception
IURLFactorycreateURL in interface IURLFactorycreateURL in class NoExtURLCreatorctx - content contextcurrentPage - page in contentExceptionpublic String getFormat(ContentContext ctx, String url)
IURLFactorygetFormat in interface IURLFactorygetFormat in class NoExtURLCreatorurl - a urlpublic String createURLKey(String url)
IURLFactorycreateURLKey in interface IURLFactorycreateURLKey in class NoExtURLCreatorCopyright © 2012-2018. All Rights Reserved.