org.apache.axis.components.compiler
public class Javac extends AbstractCompiler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSIC_CLASS |
protected static org.apache.commons.logging.Log |
log |
static java.lang.String |
MODERN_CLASS |
Constructor and Description |
---|
Javac() |
Modifier and Type | Method and Description |
---|---|
boolean |
compile()
Compile a source file yielding a loadable class file.
|
protected java.util.List |
parseClassicStream(java.io.BufferedReader input)
Parse the compiler error stream to produce a list of
CompilerError s |
protected java.util.List |
parseModernStream(java.io.BufferedReader input)
Parse the compiler error stream to produce a list of
CompilerError s |
protected java.util.List |
parseStream(java.io.BufferedReader input)
Parse the compiler error stream to produce a list of
CompilerError s |
java.lang.String |
toString() |
addFile, fillArguments, getErrors, setClasspath, setDestination, setEncoding, setSource, toStringArray
protected static org.apache.commons.logging.Log log
public static final java.lang.String CLASSIC_CLASS
public static final java.lang.String MODERN_CLASS
public boolean compile() throws java.io.IOException
java.io.IOException
- If an error occurs during compilationprotected java.util.List parseStream(java.io.BufferedReader input) throws java.io.IOException
CompilerError
sparseStream
in class AbstractCompiler
input
- The error streamjava.io.IOException
- If an error occurs during message collectionprotected java.util.List parseModernStream(java.io.BufferedReader input) throws java.io.IOException
CompilerError
sinput
- The error streamjava.io.IOException
- If an error occurs during message collectionprotected java.util.List parseClassicStream(java.io.BufferedReader input) throws java.io.IOException
CompilerError
sinput
- The error streamjava.io.IOException
- If an error occurs during message collectionpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.