org.alfresco.util
Class PathUtil

java.lang.Object
  extended by org.alfresco.util.PathUtil

public class PathUtil
extends java.lang.Object

Alfresco path-related utility functions.

Since:
3.5

Constructor Summary
PathUtil()
           
 
Method Summary
static java.lang.String getDisplayPath(org.alfresco.service.cmr.repository.Path path, boolean showLeaf)
          Return the human readable form of the specified node Path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathUtil

public PathUtil()
Method Detail

getDisplayPath

public static java.lang.String getDisplayPath(org.alfresco.service.cmr.repository.Path path,
                                              boolean showLeaf)
Return the human readable form of the specified node Path. Fast version of the method that simply converts QName localname components to Strings.

Parameters:
path - Path to extract readable form from
showLeaf - Whether to process the final leaf element of the path
Returns:
human readable form of the Path


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.