|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
CompilerClassLoader.java | - | 0% | 0% | 0% |
|
1 |
package org.codehaus.groovy.control;
|
|
2 |
|
|
3 |
import java.io.File;
|
|
4 |
import java.net.URL;
|
|
5 |
import java.net.URLClassLoader;
|
|
6 |
import java.net.MalformedURLException;
|
|
7 |
|
|
8 |
public class CompilerClassLoader |
|
9 |
extends URLClassLoader
|
|
10 |
{ |
|
11 |
private static final URL[] EMPTY_URL_ARRAY = new URL[0]; |
|
12 |
|
|
13 | 0 |
public CompilerClassLoader()
|
14 |
{ |
|
15 | 0 |
super( EMPTY_URL_ARRAY );
|
16 |
} |
|
17 |
|
|
18 | 0 |
public void addPath(String path) |
19 |
throws MalformedURLException
|
|
20 |
{ |
|
21 | 0 |
addURL( new File( path ).toURL() );
|
22 |
} |
|
23 |
} |
|
24 |
|
|