Package org.codenarc.util
Class PathUtil
java.lang.Object
org.codenarc.util.PathUtil
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClass
static String
static String
getParentPath
(String filePath) getProperty
(String property) invokeMethod
(String method, Object arguments) static String
normalizePath
(String path) static String
removePathPrefix
(String prefix, String path) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value)
-
Constructor Details
-
PathUtil
public PathUtil()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getName
-
getParentPath
-
normalizePath
-
removePathPrefix
-