public abstract class AbstractURLFactory extends Object implements IURLFactory
Constructor and Description |
---|
AbstractURLFactory() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addAndCheckExistURL(MenuElement page,
String url)
check if url allready exist, and add in the set if not.
|
protected String |
cleanString(String text) |
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...)
|
protected static String |
staticCleanString(String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createURL
public String getFormat(ContentContext ctx, String url)
IURLFactory
getFormat
in interface IURLFactory
url
- a urlpublic String createURLKey(String url)
IURLFactory
createURLKey
in interface IURLFactory
protected boolean addAndCheckExistURL(MenuElement page, String url)
url
- Copyright © 2012-2018. All Rights Reserved.