|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.link.LinkUtil info.magnolia.cms.util.LinkUtil
LinkUtil
instead
public final class LinkUtil
Utility class to store links in a format so that one can make relative paths on the public site. Later we will store the UUID, but in the current version the UUID is changing during activation!
It stores the links in the following format: ${link:{uuid:{},path:{}}}. We store already the UUID.
Field Summary |
---|
Fields inherited from class info.magnolia.link.LinkUtil |
---|
DEFAULT_EXTENSION, DEFAULT_REPOSITORY, EXTERNAL_LINK_PATTERN, LINK_OR_IMAGE_PATTERN |
Constructor Summary | |
---|---|
LinkUtil()
Deprecated. |
Method Summary | |
---|---|
static java.lang.String |
convertUUIDsToAbsoluteLinks(java.lang.String str,
boolean addContextPath)
Deprecated. use info.magnolia.link.LinkUtil#convertToAbsoluteLinks(String, boolean) instead |
static java.lang.String |
convertUUIDsToBrowserLinks(java.lang.String str,
java.lang.String url)
Deprecated. use LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer) instead using BrowserLinkTransformer |
static java.lang.String |
convertUUIDsToEditorLinks(java.lang.String str)
Deprecated. use info.magnolia.link.LinkUtil#convertToEditorLinks(String, String) instead |
static java.lang.String |
convertUUIDsToLinks(java.lang.String str,
LinkTransformer transformer)
Deprecated. use LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer) instead |
static java.lang.String |
convertUUIDsToRelativeLinks(java.lang.String str,
java.lang.String url)
Deprecated. use info.magnolia.link.LinkUtil#convertToRelativeLinks(String, String) instead |
static java.lang.String |
makeRelativePath(java.lang.String absolutePath,
java.lang.String url)
Deprecated. use LinkUtil.makePathRelative(String, String) instead |
Methods inherited from class info.magnolia.link.LinkUtil |
---|
addParameter, convertAbsoluteLinksToUUIDs, convertLinksFromUUIDPattern, convertLinksFromUUIDPattern, convertUUIDtoHandle, convertUUIDtoURI, createAbsoluteLink, createAbsoluteLink, createAbsoluteLink, createExternalLink, createLink, createLink, createLink, isExternalLinkOrAnchor, isInternalRelativeLink, makePathRelative, mapPathToRepository |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkUtil()
Method Detail |
---|
public static java.lang.String makeRelativePath(java.lang.String absolutePath, java.lang.String url)
LinkUtil.makePathRelative(String, String)
instead
public static java.lang.String convertUUIDsToLinks(java.lang.String str, LinkTransformer transformer)
LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer)
instead
public static java.lang.String convertUUIDsToAbsoluteLinks(java.lang.String str, boolean addContextPath)
info.magnolia.link.LinkUtil#convertToAbsoluteLinks(String, boolean)
instead
public static java.lang.String convertUUIDsToRelativeLinks(java.lang.String str, java.lang.String url)
info.magnolia.link.LinkUtil#convertToRelativeLinks(String, String)
instead
public static java.lang.String convertUUIDsToBrowserLinks(java.lang.String str, java.lang.String url)
LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer)
instead using BrowserLinkTransformer
public static java.lang.String convertUUIDsToEditorLinks(java.lang.String str)
info.magnolia.link.LinkUtil#convertToEditorLinks(String, String)
instead
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |