Compile and return the main class @param className the main class name @param options compiler options @param src the source code @return the main class
(final String className, Iterable<String> options, String src)
| 145 | * @return the main class |
| 146 | */ |
| 147 | public Class<?> compile(final String className, Iterable<String> options, String src) throws IOException, ClassNotFoundException { |
| 148 | doCompile(className, src, options); |
| 149 | |
| 150 | return jscl.findClass(className); |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * Compile and return the main class |