All Methods Static Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
static String |
_changeMode(String inURL,
String mode) |
static String |
addCredential(String url,
String login,
String password)
transform url with credential. semple : http://www.javlo.be >>
http://login:password@www.javlo.be
|
static String |
addMailingFeedback(ContentContext ctx,
String url) |
static String |
addSuffix(String URL,
String suffix)
add suffix to the URL. sample (suffix: #suffix) : www.javlo.org >>
www.javlo.org#suffix sample 2 (suffix: #suffix) : www.javlo.org?
|
static String |
changeMode(String inURL,
String mode) |
static String |
cleanPath(String path,
boolean trimStartSeparator) |
static boolean |
contains(Set<String> pathPatterns,
String path,
boolean trimStartSeparator) |
static String |
convertLink(ContentContext ctx,
String link)
convert external link if start with page: or / to internet link or relative link.
|
static String |
createAbsoluteURL(ContentContext ctx,
String inUrl) |
static String |
createAbsoluteViewURL(ContentContext ctx,
String uri) |
static String |
createAjaxURL(ContentContext ctx) |
static String |
createAjaxURL(ContentContext ctx,
Map params) |
static String |
createAjaxURL(ContentContext ctx,
String path) |
static String |
createAjaxURL(ContentContext ctx,
String path,
Map params) |
static String |
createAvatarUrl(ContentContext ctx,
IUserInfo userInfo) |
static String |
createEditURL(ContentContext ctx) |
static String |
createEditURL(String uri,
ContentContext ctx)
create a intern link URI to the page for edition
|
static String |
createExpCompLink(ContentContext ctx,
String compId) |
static String |
createFileURL(ContentContext ctx,
MenuElement currentPage,
String url) |
static String |
createFileURL(ContentContext ctx,
String url) |
static String |
createGeneralResourceURL(ContentContext ctx,
String url) |
static String |
createInterModuleURL(ContentContext ctx,
String url,
String moduleName)
create a special URL to call a other module.
|
static String |
createInterModuleURL(ContentContext ctx,
String url,
String moduleName,
Map<String,String> inParams)
create a special URL to call a other module.
|
static String |
createInterModuleURL(ContentContext ctx,
String url,
String moduleName,
String fromModule,
Map<String,String> inParams) |
static String |
createLocalURI(ContentContext ctx,
File file) |
static String |
createLocalURL(ContentContext ctx)
create URL without context.
|
static String |
createLocalURLWithtoutEncodeURL(ContentContext ctx,
String uri)
create url without context and without encoreURL (remove jsessionid)
|
static String |
createMediaURL(ContentContext ctx,
MenuElement currentPage,
String url) |
static String |
createMediaURL(ContentContext ctx,
String url) |
static String |
createModuleURL(ContentContext ctx,
String url,
String moduleName)
create a special URL to activate a module.
|
static String |
createModuleURL(ContentContext ctx,
String url,
String moduleName,
Map<String,String> inParams)
create a special URL to activate a module.
|
static String |
createOtherLanguageURL(ContentContext ctx,
String lg) |
static String |
createPDFURL(ContentContext ctx) |
static String |
createProxyURL(ContentContext ctx,
String inURL) |
static String |
createProxyURL(String rootURL,
String inURL) |
static String |
createQRCodeLink(ContentContext ctx,
IContentVisualComponent comp) |
static String |
createQRCodeLink(ContentContext ctx,
String data) |
static String |
createResourceURL(ContentContext ctx,
File file) |
static String |
createResourceURL(ContentContext ctx,
MenuElement currentPage,
String url) |
static String |
createResourceURL(ContentContext ctx,
String url) |
static String |
createResourceURLWithoutAccessCount(ContentContext ctx,
String url) |
static String |
createRSSURL(ContentContext ctx,
String channel) |
static String |
createServletWrapperURL(ContentContext ctx,
String url,
String paramName) |
static String |
createSSLURL(ContentContext ctx) |
static String |
createStaticFeedbackURL(ContentContext ctx,
String data) |
static String |
createStaticResourceURL(ContentContext ctx,
String url) |
static String |
createStaticSharedResourceURL(ContentContext ctx,
String url) |
static String |
createStaticTemplatePath(ContentContext ctx,
String url,
String templateVersion) |
static String |
createStaticTemplatePluginURL(ContentContext ctx,
String url,
String pluginFolder) |
static String |
createStaticTemplateURL(ContentContext ctx,
String url) |
static String |
createStaticTemplateURL(ContentContext ctx,
String url,
String templateVersion) |
protected static String |
createStaticTemplateURL(ContentContext ctx,
String url,
String templateVersion,
boolean widthPath) |
static String |
createStaticTemplateURL(ContentContext ctx,
Template template,
String url) |
static String |
createStaticTemplateURLWithoutContext(ContentContext ctx,
Template template,
String url) |
static String |
createStaticURL(ContentContext ctx,
MenuElement referencePage,
String inUrl) |
static String |
createStaticURL(ContentContext ctx,
String path,
Map params) |
static String |
createTemplateResourceURL(ContentContext ctx,
String url) |
static String |
createTemplateSourceURL(ContentContext ctx,
String url) |
static String |
createTransformLocalTemplateURL(ContentContext ctx,
String template,
String filter,
String url) |
static String |
createTransformStaticTemplateURL(ContentContext ctx,
Template template,
String filter,
String url) |
static String |
createTransformURL(ContentContext ctx,
File file,
String filter) |
static String |
createURL(ContentContext ctx) |
static String |
createURL(ContentContext ctx,
GlobalContext globalContext,
String uri) |
static String |
createURL(ContentContext ctx,
Map params) |
static String |
createURL(ContentContext ctx,
MenuElement page) |
static String |
createURL(ContentContext ctx,
MenuElement page,
Map params) |
static String |
createURL(ContentContext ctx,
String uri)
create a intern link URL
|
static String |
createURL(ContentContext ctx,
String[] recupParam,
Map params) |
static String |
createURL(ContentContext ctx,
String path,
Map params) |
static String |
createURL(ContentContext ctx,
String uri,
String lg)
create a url but change the lg
|
static String |
createURL(String uri,
ContentContext ctx)
|
static String |
createURLCheckLg(ContentContext ctx,
String uri)
create a url but check if url start with a lg ref.
|
static String |
createURLFromPageName(ContentContext ctx,
String pageName) |
static String |
createURLFromPageName(ContentContext ctx,
String pageName,
Map<String,String> params) |
static String |
createURLNoForceTemplate(ContentContext ctx) |
static String |
createURLNoPathPrefix(ContentContext ctx,
String uri)
create a intern link URL without context path
|
static String |
createURLWithtoutContext(ContentContext ctx,
String uri) |
static String |
createURLWithtoutEncodeURL(ContentContext ctx,
String uri) |
static String |
createVFSURL(ContentContext ctx,
String dataFile,
String uri)
create the url to a file in to a virtual file system (sp. zip file)
|
static String |
createViewURL(String uri,
ContentContext ctx)
create a intern link URI to the view site
|
static String |
createVisualTemplateURL(ContentContext ctx,
Template template,
String filter) |
static String |
cryptURL(ContentContext ctx,
String url)
transform a url to a crypted param url. sampe :
http://www.cms.com?
|
static String |
decodePathForAttribute(String path) |
static String |
encodePathForAttribute(String path) |
static String |
extractFileName(String path) |
static String |
extractHost(String url) |
static String |
extractName(String url)
extract a host name from a url
|
static String |
extractPath(String url) |
static String |
getFileTypeURL(ContentContext ctx,
File file) |
static String |
getFileURL(ContentContext ctx,
File file) |
static String |
getMoveChildURL(ContentContext ctx,
MenuElement elem) |
static String |
getMoveParentURL(ContentContext ctx,
MenuElement elem) |
static String |
getParentURL(String url)
get the parent url of a url. sample:
http://www.javlo.org/static/images/visual.png >>
http://www.javlo.org/static/images
|
static String |
getRelativePath(String parentPath,
String childPath) |
static String |
getSep(String url)
if url contains ?
|
static String |
httpDecryptData(String data) |
static String |
httpEncryptData(String data) |
static boolean |
isAbsoluteURL(String url) |
static boolean |
isCorrectJavloLink(String link) |
static String |
mergePath(String... paths) |
static String |
path2URL(String path) |
static String |
removeFirstSlash(String path)
remove first / on a path if exist
|
static String |
removeTemplateFromResourceURL(String url) |
static String |
replaceFolderVariable(ContentContext ctx,
String url) |
static String |
replacePageReference(ContentContext ctx,
String text)
replace page:pagename with the correct link to the page.
|
static String |
smartLink(ContentContext ctx,
String link)
transform text to url. if absolute url >> return same link, if contains
'/' >> search on path, don't contains '/' >> search as page name.
|