|
||||||||||
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 String |
convertUUIDsToAbsoluteLinks(String str,
boolean addContextPath)
Deprecated. use info.magnolia.link.LinkUtil#convertToAbsoluteLinks(String, boolean) instead |
static String |
convertUUIDsToBrowserLinks(String str,
String url)
Deprecated. use LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer) instead using BrowserLinkTransformer |
static String |
convertUUIDsToEditorLinks(String str)
Deprecated. use info.magnolia.link.LinkUtil#convertToEditorLinks(String, String) instead |
static String |
convertUUIDsToLinks(String str,
LinkTransformer transformer)
Deprecated. use LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer) instead |
static String |
convertUUIDsToRelativeLinks(String str,
String url)
Deprecated. use info.magnolia.link.LinkUtil#convertToRelativeLinks(String, String) instead |
static String |
makeRelativePath(String absolutePath,
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 String makeRelativePath(String absolutePath, String url)
LinkUtil.makePathRelative(String, String)
instead
public static String convertUUIDsToLinks(String str, LinkTransformer transformer)
LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer)
instead
public static String convertUUIDsToAbsoluteLinks(String str, boolean addContextPath)
info.magnolia.link.LinkUtil#convertToAbsoluteLinks(String, boolean)
instead
public static String convertUUIDsToRelativeLinks(String str, String url)
info.magnolia.link.LinkUtil#convertToRelativeLinks(String, String)
instead
public static String convertUUIDsToBrowserLinks(String str, String url)
LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer)
instead using BrowserLinkTransformer
public static String convertUUIDsToEditorLinks(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 |