info.magnolia.cms.util
Class PathUtil

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

public class PathUtil
extends java.lang.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 java.lang.String addLeadingSlash(java.lang.String path)
           
static java.lang.String createPath(java.lang.String path, java.lang.String label)
           
static java.lang.String getFileName(java.lang.String path)
           
static java.lang.String getFolder(java.lang.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 java.lang.String createPath(java.lang.String path,
                                          java.lang.String label)

addLeadingSlash

public static java.lang.String addLeadingSlash(java.lang.String path)

getFolder

public static java.lang.String getFolder(java.lang.String path)

getFileName

public static java.lang.String getFileName(java.lang.String path)


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