org.apache.axis.components.compiler
Class Javac
- Compiler
This class wraps the Sun's Javac Compiler.
- Davanum Srinivas
- Stefano Mazzocchi
- 2.0
boolean | compile() - Compile a source file yielding a loadable class file.
|
protected List | parseClassicStream(BufferedReader input) - Parse the compiler error stream to produce a list of
CompilerError s
|
protected List | parseModernStream(BufferedReader input) - Parse the compiler error stream to produce a list of
CompilerError s
|
protected List | parseStream(BufferedReader input) - Parse the compiler error stream to produce a list of
CompilerError s
|
String | toString()
|
CLASSIC_CLASS
public static final String CLASSIC_CLASS
MODERN_CLASS
public static final String MODERN_CLASS
log
protected static Log log
compile
public boolean compile()
throws IOException
Compile a source file yielding a loadable class file.
- compile in interface Compiler
parseClassicStream
protected List parseClassicStream(BufferedReader input)
throws IOException
Parse the compiler error stream to produce a list of
CompilerError
s
input
- The error stream
- The list of compiler error messages
parseModernStream
protected List parseModernStream(BufferedReader input)
throws IOException
Parse the compiler error stream to produce a list of
CompilerError
s
input
- The error stream
- The list of compiler error messages
parseStream
protected List parseStream(BufferedReader input)
throws IOException
Parse the compiler error stream to produce a list of
CompilerError
s
- parseStream in interface AbstractCompiler
input
- The error stream
- The list of compiler error messages
toString
public String toString()
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.