Class PathUtil


  • public class PathUtil
    extends Object
    Alfresco path-related utility functions.
    Since:
    3.5
    • Constructor Detail

      • PathUtil

        public PathUtil()
    • Method Detail

      • getDisplayPath

        public static String getDisplayPath​(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