public interface IURLFactory
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...)
|
String createURLKey(String url)
url
- String createURL(ContentContext ctx, MenuElement page) throws Exception
ctx
- content contextpage
- page in contentException
String getFormat(ContentContext ctx, String url)
url
- a urlCopyright © 2012-2018. All Rights Reserved.