The class com.sun.tools.javac.Main contains to supported static methods:
public static int compile(String[] args)
public static int compile(String[] args, PrintWriter out)
This should be documented somewhere.
Comments
EVALUATION
Yes, we should document these methods on the web page http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#javac
###@###.### 2004-08-16