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
CompilerErrors |
protected java.util.List |
parseModernStream(java.io.BufferedReader input)
Parse the compiler error stream to produce a list of
CompilerErrors |
protected java.util.List |
parseStream(java.io.BufferedReader input)
Parse the compiler error stream to produce a list of
CompilerErrors |
java.lang.String |
toString() |
addFile, fillArguments, getErrors, setClasspath, setDestination, setEncoding, setSource, toStringArrayprotected 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
CompilerErrorsparseStream in class AbstractCompilerinput - The error streamjava.io.IOException - If an error occurs during message collectionprotected java.util.List parseModernStream(java.io.BufferedReader input)
throws java.io.IOException
CompilerErrorsinput - The error streamjava.io.IOException - If an error occurs during message collectionprotected java.util.List parseClassicStream(java.io.BufferedReader input)
throws java.io.IOException
CompilerErrorsinput - The error streamjava.io.IOException - If an error occurs during message collectionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2005 Apache Web Services Project. All Rights Reserved.