public class GroovyClasspathHelper extends Object
Modifier and Type | Method and Description |
---|---|
void |
addClasspath(File file)
Adds a file or directory to the classpath
|
void |
addClasspath(String path)
Adds a path to the classpath
|
static GroovyClasspathHelper |
getInstance()
Gets the classpath helper instance
|
groovy.lang.GroovyClassLoader |
getLoader()
Gets the Groovy class loader instance
|
public void addClasspath(String path)
path
- the pathpublic void addClasspath(File file) throws IOException
file
- the file object pointing to the file or directoryIOException
- for all sorts of I/O errorspublic groovy.lang.GroovyClassLoader getLoader()
public static GroovyClasspathHelper getInstance()
This documentation was released into the public domain.