Groovy Documentation

org.gmetrics.util
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.

author:
Chris Mair
version:
$Revision: 24 $ - $Date: 2009-12-10 21:17:05 -0500 (Thu, 10 Dec 2009) $


Constructor Summary
private PathUtil()

Private constructor.

 
Method Summary
static String getName(String filePath)

static String getParent(String filePath)

static String normalize(String path)

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

Constructor Detail

PathUtil

private PathUtil()
Private constructor. All methods are static.


 
Method Detail

getName

public static String getName(String filePath)


getParent

public static String getParent(String filePath)


normalize

public static String normalize(String path)


 

Groovy Documentation