Groovy Documentation

org.codenarc.util
[Groovy] Class PathUtil

java.lang.Object
  org.codenarc.util.PathUtil

class PathUtil

Path-related utility methods.

Authors:
Chris Mair
Version:
\$Revision: 604 \$ - \$Date: 2011-02-09 15:53:52 -0500 (Wed, 09 Feb 2011) \$


Method Summary
static String getName(String path)

static String getParentPath(String filePath)

static String normalizePath(String path)

static String removePathPrefix(String prefix, String path)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

getName

static String getName(String path)


getParentPath

static String getParentPath(String filePath)


normalizePath

static String normalizePath(String path)


removePathPrefix

static String removePathPrefix(String prefix, String path)


 

Groovy Documentation