|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.javac.Main
public class Main
The programmatic interface for the Java Programming Language compiler, javac.
Except for the two methods
compile(java.lang.String[])
compile(java.lang.String[],java.io.PrintWriter)
,
nothing described in this source file is part of any supported
API. If you write code that depends on this, you do so at your own
risk. This code and its internal interfaces are subject to change
or deletion without notice.
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
static int |
compile(java.lang.String[] args)
Programmatic interface to the Java Programming Language compiler, javac. |
static int |
compile(java.lang.String[] args,
java.io.PrintWriter out)
Programmatic interface to the Java Programming Language compiler, javac. |
static void |
main(java.lang.String[] args)
Unsupported command line interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line parameters.
java.lang.Exception
public static int compile(java.lang.String[] args)
args
- The command line arguments that would normally be
passed to the javac program as described in the man page.
public static int compile(java.lang.String[] args, java.io.PrintWriter out)
args
- The command line arguments that would normally be
passed to the javac program as described in the man page.out
- PrintWriter to which the compiler's diagnostic
output is directed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |