public class NoURLFactory extends Object implements IURLFactory
| Constructor and Description |
|---|
NoURLFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
createURL(ContentContext ctx,
MenuElement page)
create url to a page.
|
String |
createURLKey(String url)
transform url to a unic string represent information (sp. : without extension).
|
String |
getFormat(ContentContext ctx,
String url)
get the format of url (html, png, pdf...)
|
public String createURLKey(String url)
IURLFactorycreateURLKey in interface IURLFactorypublic String createURL(ContentContext ctx, MenuElement page) throws Exception
IURLFactorycreateURL in interface IURLFactoryctx - content contextpage - page in contentExceptionpublic String getFormat(ContentContext ctx, String url)
IURLFactorygetFormat in interface IURLFactoryurl - a urlCopyright © 2012-2018. All Rights Reserved.