(File... classpath)
| 17 | private final String classpath; |
| 18 | |
| 19 | UTCompiler(File... classpath) throws IOException { |
| 20 | final StringBuilder sb = new StringBuilder(); |
| 21 | for (final File f : classpath) { |
| 22 | if (sb.length() > 0) |
| 23 | sb.append(File.pathSeparatorChar); |
| 24 | sb.append(f.getAbsolutePath()); |
| 25 | } |
| 26 | this.classpath = sb.toString(); |
| 27 | } |
| 28 | |
| 29 | ProcessResult compile(final String name, final String program) |
| 30 | throws IOException { |