org.apache.axis.components.compiler

Class Jikes

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 Loglog
Method Summary
booleancompile()
Execute the compiler
protected ListparseStream(BufferedReader input)
Parse the compiler error stream to produce a list of CompilerErrors
StringtoString()
protected String[]toStringArray(List arguments)
Copy arguments to a string array

Field Detail

log

protected static Log log

Method Detail

compile

public boolean compile()
Execute the compiler

parseStream

protected List parseStream(BufferedReader input)
Parse the compiler error stream to produce a list of CompilerErrors

Parameters: input The error stream

Returns: The list of compiler error messages

Throws: IOException If an error occurs during message collection

toString

public String toString()

toStringArray

protected String[] toStringArray(List arguments)
Copy arguments to a string array

Parameters: arguments The compiler arguments

Returns: A string array containing compilation arguments

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