Groovy Documentation

groovy.org.codenarc.util
[Groovy] Class PathUtil

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

class PathUtil

Path-related utility methods.

Authors:
Chris Mair


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