org.alfresco.util
Class UrlUtil
java.lang.Object
org.alfresco.util.UrlUtil
public class UrlUtil
- extends java.lang.Object
Alfresco URL related utility functions.
- Since:
- 3.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlUtil
public UrlUtil()
getAlfrescoUrl
public static java.lang.String getAlfrescoUrl(SysAdminParams sysAdminParams)
- Builds up the Url to Alfresco based on the settings in the
SysAdminParams
.
- Returns:
- Alfresco Url such as https://col.ab.or.ate/alfresco/
or http://localhost:8080/alfresco/
getShareUrl
public static java.lang.String getShareUrl(SysAdminParams sysAdminParams)
- Builds up the Url to Share based on the settings in the
SysAdminParams
.
- Returns:
- Alfresco Url such as https://col.ab.or.ate/share/
or http://localhost:8081/share/
buildUrl
protected static java.lang.String buildUrl(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String context)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.