org.apache.axis.components.compiler
Class Jikes
java.lang.Object
   org.apache.axis.components.compiler.AbstractCompiler
org.apache.axis.components.compiler.AbstractCompiler
       org.apache.axis.components.compiler.Jikes
org.apache.axis.components.compiler.Jikes
- All Implemented Interfaces: 
- Compiler
- public class Jikes- extends AbstractCompiler
This class wraps IBM's Jikes Java compiler
 NOTE: inspired by the Apache Jasper implementation.
- Since:
- 2.0
- Author:
- Davanum Srinivas, Stefano Mazzocchi
| Field Summary | 
| protected static org.apache.commons.logging.Log | log
 | 
 
 
| Constructor Summary | 
| Jikes()
 | 
 
| Method Summary | 
|  boolean | compile()Execute the compiler
 | 
| protected  java.util.List | parseStream(java.io.BufferedReader input)Parse the compiler error stream to produce a list of
 CompilerErrors | 
|  java.lang.String | toString()
 | 
| protected  java.lang.String[] | toStringArray(java.util.List arguments)Copy arguments to a string array
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
log
protected static org.apache.commons.logging.Log log
Jikes
public Jikes()
toStringArray
protected java.lang.String[] toStringArray(java.util.List arguments)
- Copy arguments to a string array
 
- 
- Overrides:
- toStringArrayin class- AbstractCompiler
 
- 
- Parameters:
- arguments- The compiler arguments
- Returns:
- A string array containing compilation arguments
 
compile
public boolean compile()
                throws java.io.IOException
- Execute the compiler
 
- 
- Throws:
- java.io.IOException
 
parseStream
protected java.util.List parseStream(java.io.BufferedReader input)
                              throws java.io.IOException
- Parse the compiler error stream to produce a list of
 CompilerErrors
 
- 
- Specified by:
- parseStreamin class- AbstractCompiler
 
- 
- Parameters:
- input- The error stream
- Returns:
- The list of compiler error messages
- Throws:
- java.io.IOException- If an error occurs during message collection
 
toString
public java.lang.String toString()
- 
 
Copyright © 2005 Apache Web Services Project. All Rights Reserved.