Groovy Documentation

org.gmetrics.util
[Groovy] Class PathUtil

java.lang.Object
  org.gmetrics.util.PathUtil

class PathUtil

Contains static utility methods related to file and directory paths.

This is an internal class and its API is subject to change.

Authors:
Chris Mair


Method Summary
static String getName(String filePath)

static String getParent(String filePath)

static String normalize(String path)

static String toPackageName(String filePath)

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

Method Detail

getName

static String getName(String filePath)


getParent

static String getParent(String filePath)


normalize

static String normalize(String path)


toPackageName

static String toPackageName(String filePath)


 

Groovy Documentation