Package org.gmetrics.util
Class PathUtil
java.lang.Object
org.gmetrics.util.PathUtil
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClassstatic Stringstatic StringgetProperty(String property) invokeMethod(String method, Object arguments) static StringvoidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) static StringtoPackageName(String filePath)
-
Constructor Details
-
PathUtil
public PathUtil()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
getName
-
getParent
-
normalize
-
toPackageName
-