Example usage for Java org.apache.commons.jci.compilers JavaCompiler fields, constructors, methods, implement or subclass
The text is from its open source code.
CompilationResult | compile(final String[] pResourcePaths, final ResourceReader pReader, final ResourceStore pStore) uses the default compiler settings and the current classloader |
CompilationResult | compile(final String[] pResourcePaths, final ResourceReader pReader, final ResourceStore pStore, final ClassLoader pClassLoader) uses the default compiler settings |
CompilationResult | compile(final String[] pResourcePaths, final ResourceReader pReader, final ResourceStore pStore, final ClassLoader pClassLoader, final JavaCompilerSettings pSettings) Compiles the java resources "some/path/to/MyJava.java" read through the ResourceReader and then stores the resulting classes in the ResourceStore under "some/path/to/MyJava.class". |
JavaCompilerSettings | createDefaultSettings() factory method to create the underlying default settings |
void | setCompilationProblemHandler(final CompilationProblemHandler pHandler) Set the the handler that gets the notification of an error or warning as soon as this information is available from the compiler. |