info.magnolia.cms.util
Class LinkUtil

java.lang.Object
  extended by info.magnolia.link.LinkUtil
      extended by info.magnolia.cms.util.LinkUtil

Deprecated. use LinkUtil instead

public final class LinkUtil
extends 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.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
philipp

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

LinkUtil

public LinkUtil()
Deprecated. 
Method Detail

makeRelativePath

public static java.lang.String makeRelativePath(java.lang.String absolutePath,
                                                java.lang.String url)
Deprecated. use LinkUtil.makePathRelative(String, String) instead


convertUUIDsToLinks

public static java.lang.String convertUUIDsToLinks(java.lang.String str,
                                                   LinkTransformer transformer)
Deprecated. use LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer) instead


convertUUIDsToAbsoluteLinks

public static java.lang.String convertUUIDsToAbsoluteLinks(java.lang.String str,
                                                           boolean addContextPath)
Deprecated. use info.magnolia.link.LinkUtil#convertToAbsoluteLinks(String, boolean) instead


convertUUIDsToRelativeLinks

public static java.lang.String convertUUIDsToRelativeLinks(java.lang.String str,
                                                           java.lang.String url)
Deprecated. use info.magnolia.link.LinkUtil#convertToRelativeLinks(String, String) instead


convertUUIDsToBrowserLinks

public static java.lang.String convertUUIDsToBrowserLinks(java.lang.String str,
                                                          java.lang.String url)
Deprecated. use LinkUtil.convertLinksFromUUIDPattern(String, LinkTransformer) instead using BrowserLinkTransformer


convertUUIDsToEditorLinks

public static java.lang.String convertUUIDsToEditorLinks(java.lang.String str)
Deprecated. use info.magnolia.link.LinkUtil#convertToEditorLinks(String, String) instead



Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.