@Exported public class Main extends Object
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
static int |
compile(String[] args)
Programmatic interface to the Java Programming Language
compiler, javac.
|
static int |
compile(String[] args,
PrintWriter out)
Programmatic interface to the Java Programming Language
compiler, javac.
|
static void |
main(String[] args)
Main entry point for the launcher.
|
public static void main(String[] args) throws Exception
args
- command line argumentsException
public static int compile(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(String[] args, 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.Copyright © 2016. All rights reserved.