org.apache.axis.components.compiler

Class Jikes

Implemented Interfaces:
Compiler

public class Jikes
extends AbstractCompiler

This class wraps IBM's Jikes Java compiler NOTE: inspired by the Apache Jasper implementation.
Authors:
Davanum Srinivas
Stefano Mazzocchi
Since:
2.0

Field Summary

protected static Log
log

Fields inherited from class org.apache.axis.components.compiler.AbstractCompiler

classpath, destDir, encoding, errors, fileList, srcDir

Method Summary

boolean
compile()
Execute the compiler
protected List
parseStream(BufferedReader input)
Parse the compiler error stream to produce a list of CompilerErrors
String
toString()
protected String[]
toStringArray(List arguments)
Copy arguments to a string array

Methods inherited from class org.apache.axis.components.compiler.AbstractCompiler

addFile, fillArguments, getErrors, parseStream, setClasspath, setDestination, setEncoding, setSource, toStringArray

Field Details

log

protected static Log log

Method Details

compile

public boolean compile()
            throws IOException
Execute the compiler
Specified by:
compile in interface Compiler

parseStream

protected List parseStream(BufferedReader input)
            throws IOException
Parse the compiler error stream to produce a list of CompilerErrors
Overrides:
parseStream in interface AbstractCompiler
Parameters:
input - The error stream
Returns:
The list of compiler error messages

toString

public String toString()

toStringArray

protected String[] toStringArray(List arguments)
Copy arguments to a string array
Overrides:
toStringArray in interface AbstractCompiler
Parameters:
arguments - The compiler arguments
Returns:
A string array containing compilation arguments

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.