info.magnolia.cms.util
Class PathUtil

java.lang.Object
  extended by info.magnolia.cms.util.PathUtil

public class PathUtil
extends Object

Utility class used to handle paths for documents in DMS.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
Philipp Bracher

Constructor Summary
PathUtil()
           
 
Method Summary
static String addLeadingSlash(String path)
           
static String createPath(String path, String label)
           
static String getFileName(String path)
           
static String getFolder(String 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

createPath

public static String createPath(String path,
                                String label)

addLeadingSlash

public static String addLeadingSlash(String path)

getFolder

public static String getFolder(String path)

getFileName

public static String getFileName(String path)


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