1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:18 PDT 2006 -->
10
<META NAME="keywords" CONTENT="org.apache.axis.components.compiler.Jikes class">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
parent.document.title="Jikes (Axis API)";
23
<BODY BGCOLOR="white" onload="windowTitle();">
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
<TR ALIGN="center" VALIGN="top">
35
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
36
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
37
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
38
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Jikes.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
39
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
40
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53
<A HREF="../../../../../org/apache/axis/components/compiler/Javac.html" title="class in org.apache.axis.components.compiler"><B>PREV CLASS</B></A>
54
NEXT CLASS</FONT></TD>
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
57
<A HREF="Jikes.html" target="_top"><B>NO FRAMES</B></A>
58
<SCRIPT type="text/javascript">
61
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
72
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
78
<A NAME="skip-navbar_top"></A>
79
<!-- ========= END OF TOP NAVBAR ========= -->
82
<!-- ======== START OF CLASS DATA ======== -->
85
org.apache.axis.components.compiler</FONT>
90
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html" title="class in org.apache.axis.components.compiler">org.apache.axis.components.compiler.AbstractCompiler</A>
91
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.components.compiler.Jikes</B>
94
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/axis/components/compiler/Compiler.html" title="interface in org.apache.axis.components.compiler">Compiler</A></DD>
98
<DT>public class <B>Jikes</B><DT>extends <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html" title="class in org.apache.axis.components.compiler">AbstractCompiler</A></DL>
101
This class wraps IBM's <i>Jikes</i> Java compiler
102
NOTE: inspired by the Apache Jasper implementation.
107
<DT><B>Since:</B></DT>
109
<DT><B>Author:</B></DT>
110
<DD><a href="mailto:dims@yahoo.com">Davanum Srinivas</a>, <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a></DD>
115
<!-- ======== NESTED CLASS SUMMARY ======== -->
118
<!-- =========== FIELD SUMMARY =========== -->
120
<A NAME="field_summary"><!-- --></A>
121
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123
<TD COLSPAN=2><FONT SIZE="+2">
124
<B>Field Summary</B></FONT></TD>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128
<CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD>
129
<TD><CODE><B><A HREF="../../../../../org/apache/axis/components/compiler/Jikes.html#log">log</A></B></CODE>
132
</TD>
135
<A NAME="fields_inherited_from_class_org.apache.axis.components.compiler.AbstractCompiler"><!-- --></A>
136
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
138
<TD><B>Fields inherited from class org.apache.axis.components.compiler.<A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html" title="class in org.apache.axis.components.compiler">AbstractCompiler</A></B></TD>
140
<TR BGCOLOR="white" CLASS="TableRowColor">
141
<TD><CODE><A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#classpath">classpath</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#destDir">destDir</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#encoding">encoding</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#errors">errors</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#fileList">fileList</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#srcDir">srcDir</A></CODE></TD>
145
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
147
<A NAME="constructor_summary"><!-- --></A>
148
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
150
<TD COLSPAN=2><FONT SIZE="+2">
151
<B>Constructor Summary</B></FONT></TD>
153
<TR BGCOLOR="white" CLASS="TableRowColor">
154
<TD><CODE><B><A HREF="../../../../../org/apache/axis/components/compiler/Jikes.html#Jikes()">Jikes</A></B>()</CODE>
157
</TD>
161
<!-- ========== METHOD SUMMARY =========== -->
163
<A NAME="method_summary"><!-- --></A>
164
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
165
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
166
<TD COLSPAN=2><FONT SIZE="+2">
167
<B>Method Summary</B></FONT></TD>
169
<TR BGCOLOR="white" CLASS="TableRowColor">
170
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171
<CODE> boolean</CODE></FONT></TD>
172
<TD><CODE><B><A HREF="../../../../../org/apache/axis/components/compiler/Jikes.html#compile()">compile</A></B>()</CODE>
175
Execute the compiler</TD>
177
<TR BGCOLOR="white" CLASS="TableRowColor">
178
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179
<CODE>protected java.util.List</CODE></FONT></TD>
180
<TD><CODE><B><A HREF="../../../../../org/apache/axis/components/compiler/Jikes.html#parseStream(java.io.BufferedReader)">parseStream</A></B>(java.io.BufferedReader input)</CODE>
183
Parse the compiler error stream to produce a list of
184
<code>CompilerError</code>s</TD>
186
<TR BGCOLOR="white" CLASS="TableRowColor">
187
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188
<CODE> java.lang.String</CODE></FONT></TD>
189
<TD><CODE><B><A HREF="../../../../../org/apache/axis/components/compiler/Jikes.html#toString()">toString</A></B>()</CODE>
192
</TD>
194
<TR BGCOLOR="white" CLASS="TableRowColor">
195
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196
<CODE>protected java.lang.String[]</CODE></FONT></TD>
197
<TD><CODE><B><A HREF="../../../../../org/apache/axis/components/compiler/Jikes.html#toStringArray(java.util.List)">toStringArray</A></B>(java.util.List arguments)</CODE>
200
Copy arguments to a string array</TD>
203
<A NAME="methods_inherited_from_class_org.apache.axis.components.compiler.AbstractCompiler"><!-- --></A>
204
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
205
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
206
<TD><B>Methods inherited from class org.apache.axis.components.compiler.<A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html" title="class in org.apache.axis.components.compiler">AbstractCompiler</A></B></TD>
208
<TR BGCOLOR="white" CLASS="TableRowColor">
209
<TD><CODE><A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#addFile(java.lang.String)">addFile</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#fillArguments(java.util.List)">fillArguments</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#getErrors()">getErrors</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#setClasspath(java.lang.String)">setClasspath</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#setDestination(java.lang.String)">setDestination</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#setEncoding(java.lang.String)">setEncoding</A>, <A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#setSource(java.lang.String)">setSource</A></CODE></TD>
212
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
213
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
214
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
215
<TD><B>Methods inherited from class java.lang.Object</B></TD>
217
<TR BGCOLOR="white" CLASS="TableRowColor">
218
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
224
<!-- ============ FIELD DETAIL =========== -->
226
<A NAME="field_detail"><!-- --></A>
227
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
228
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
229
<TD COLSPAN=1><FONT SIZE="+2">
230
<B>Field Detail</B></FONT></TD>
234
<A NAME="log"><!-- --></A><H3>
237
protected static org.apache.commons.logging.Log <B>log</B></PRE>
243
<!-- ========= CONSTRUCTOR DETAIL ======== -->
245
<A NAME="constructor_detail"><!-- --></A>
246
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
247
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
248
<TD COLSPAN=1><FONT SIZE="+2">
249
<B>Constructor Detail</B></FONT></TD>
253
<A NAME="Jikes()"><!-- --></A><H3>
256
public <B>Jikes</B>()</PRE>
260
<!-- ============ METHOD DETAIL ========== -->
262
<A NAME="method_detail"><!-- --></A>
263
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
264
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
265
<TD COLSPAN=1><FONT SIZE="+2">
266
<B>Method Detail</B></FONT></TD>
270
<A NAME="toStringArray(java.util.List)"><!-- --></A><H3>
273
protected java.lang.String[] <B>toStringArray</B>(java.util.List arguments)</PRE>
275
<DD>Copy arguments to a string array
278
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#toStringArray(java.util.List)">toStringArray</A></CODE> in class <CODE><A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html" title="class in org.apache.axis.components.compiler">AbstractCompiler</A></CODE></DL>
281
<DT><B>Parameters:</B><DD><CODE>arguments</CODE> - The compiler arguments
282
<DT><B>Returns:</B><DD>A string array containing compilation arguments</DL>
287
<A NAME="compile()"><!-- --></A><H3>
290
public boolean <B>compile</B>()
291
throws java.io.IOException</PRE>
293
<DD>Execute the compiler
298
<DD><CODE>java.io.IOException</CODE></DL>
303
<A NAME="parseStream(java.io.BufferedReader)"><!-- --></A><H3>
306
protected java.util.List <B>parseStream</B>(java.io.BufferedReader input)
307
throws java.io.IOException</PRE>
309
<DD>Parse the compiler error stream to produce a list of
310
<code>CompilerError</code>s
313
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html#parseStream(java.io.BufferedReader)">parseStream</A></CODE> in class <CODE><A HREF="../../../../../org/apache/axis/components/compiler/AbstractCompiler.html" title="class in org.apache.axis.components.compiler">AbstractCompiler</A></CODE></DL>
316
<DT><B>Parameters:</B><DD><CODE>input</CODE> - The error stream
317
<DT><B>Returns:</B><DD>The list of compiler error messages
319
<DD><CODE>java.io.IOException</CODE> - If an error occurs during message collection</DL>
324
<A NAME="toString()"><!-- --></A><H3>
327
public java.lang.String <B>toString</B>()</PRE>
333
<!-- ========= END OF CLASS DATA ========= -->
337
<!-- ======= START OF BOTTOM NAVBAR ====== -->
338
<A NAME="navbar_bottom"><!-- --></A>
339
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
340
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
342
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
343
<A NAME="navbar_bottom_firstrow"><!-- --></A>
344
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
345
<TR ALIGN="center" VALIGN="top">
346
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
347
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
348
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
349
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Jikes.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
350
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
351
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
352
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
353
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
357
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
363
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
364
<A HREF="../../../../../org/apache/axis/components/compiler/Javac.html" title="class in org.apache.axis.components.compiler"><B>PREV CLASS</B></A>
365
NEXT CLASS</FONT></TD>
366
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
367
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
368
<A HREF="Jikes.html" target="_top"><B>NO FRAMES</B></A>
369
<SCRIPT type="text/javascript">
372
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
377
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
383
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
384
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
385
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
386
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
389
<A NAME="skip-navbar_bottom"></A>
390
<!-- ======== END OF BOTTOM NAVBAR ======= -->
393
Copyright © 2005 Apache Web Services Project. All Rights Reserved.