|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.components.compiler.AbstractCompiler
org.apache.axis.components.compiler.Javac
This class wraps the Sun's Javac Compiler.
| Field Summary | |
static java.lang.String |
CLASSIC_CLASS
|
protected static org.apache.commons.logging.Log |
log
|
static java.lang.String |
MODERN_CLASS
|
| Fields inherited from class org.apache.axis.components.compiler.AbstractCompiler |
classpath, destDir, encoding, errors, fileList, srcDir |
| Constructor Summary | |
Javac()
|
|
| Method Summary | |
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()
|
| Methods inherited from class org.apache.axis.components.compiler.AbstractCompiler |
addFile, fillArguments, getErrors, setClasspath, setDestination, setEncoding, setSource, toStringArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static org.apache.commons.logging.Log log
public static final java.lang.String CLASSIC_CLASS
public static final java.lang.String MODERN_CLASS
| Constructor Detail |
public Javac()
| Method Detail |
public boolean compile()
throws java.io.IOException
java.io.IOException - If an error occurs during compilation
protected java.util.List parseStream(java.io.BufferedReader input)
throws java.io.IOException
CompilerErrors
parseStream in class AbstractCompilerinput - The error stream
java.io.IOException - If an error occurs during message collection
protected java.util.List parseModernStream(java.io.BufferedReader input)
throws java.io.IOException
CompilerErrors
input - The error stream
java.io.IOException - If an error occurs during message collection
protected java.util.List parseClassicStream(java.io.BufferedReader input)
throws java.io.IOException
CompilerErrors
input - The error stream
java.io.IOException - If an error occurs during message collectionpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||