source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/filters/util/JavaClassHelper.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 9.8 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:16 NZST 2007 -->
6<TITLE>
7JavaClassHelper (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.filters.util.JavaClassHelper class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="JavaClassHelper (Apache Ant API)";
18}
19</SCRIPT>
20
21</HEAD>
22
23<BODY BGCOLOR="white" onload="windowTitle();">
24
25
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="">
30<TR>
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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;<A HREF="../../../../../../org/apache/tools/ant/filters/util/ChainReaderHelper.html" title="class in org.apache.tools.ant.filters.util"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;NEXT CLASS</FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="JavaClassHelper.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.ant.filters.util</FONT>
85<BR>
86Class JavaClassHelper</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.filters.util.JavaClassHelper</B>
90</PRE>
91<HR>
92<DL>
93<DT>public final class <B>JavaClassHelper</B><DT>extends java.lang.Object</DL>
94
95<P>
96Helper class that filters constants from a Java Class
97<P>
98
99<P>
100<HR>
101
102<P>
103<!-- ======== NESTED CLASS SUMMARY ======== -->
104
105
106<!-- =========== FIELD SUMMARY =========== -->
107
108
109<!-- ======== CONSTRUCTOR SUMMARY ======== -->
110
111<A NAME="constructor_summary"><!-- --></A>
112<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
113<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114<TD COLSPAN=2><FONT SIZE="+2">
115<B>Constructor Summary</B></FONT></TD>
116</TR>
117<TR BGCOLOR="white" CLASS="TableRowColor">
118<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/filters/util/JavaClassHelper.html#JavaClassHelper()">JavaClassHelper</A></B>()</CODE>
119
120<BR>
121&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
122</TR>
123</TABLE>
124&nbsp;
125<!-- ========== METHOD SUMMARY =========== -->
126
127<A NAME="method_summary"><!-- --></A>
128<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
130<TD COLSPAN=2><FONT SIZE="+2">
131<B>Method Summary</B></FONT></TD>
132</TR>
133<TR BGCOLOR="white" CLASS="TableRowColor">
134<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135<CODE>static&nbsp;java.lang.StringBuffer</CODE></FONT></TD>
136<TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/filters/util/JavaClassHelper.html#getConstants(byte[])">getConstants</A></B>(byte[]&nbsp;bytes)</CODE>
137
138<BR>
139&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the constants declared in a file as name=value</TD>
140</TR>
141</TABLE>
142&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
143<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
144<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
145<TD><B>Methods inherited from class java.lang.Object</B></TD>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
149</TR>
150</TABLE>
151&nbsp;
152<P>
153
154<!-- ============ FIELD DETAIL =========== -->
155
156
157<!-- ========= CONSTRUCTOR DETAIL ======== -->
158
159<A NAME="constructor_detail"><!-- --></A>
160<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
161<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
162<TD COLSPAN=1><FONT SIZE="+2">
163<B>Constructor Detail</B></FONT></TD>
164</TR>
165</TABLE>
166
167<A NAME="JavaClassHelper()"><!-- --></A><H3>
168JavaClassHelper</H3>
169<PRE>
170public <B>JavaClassHelper</B>()</PRE>
171<DL>
172</DL>
173
174<!-- ============ METHOD DETAIL ========== -->
175
176<A NAME="method_detail"><!-- --></A>
177<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
178<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
179<TD COLSPAN=1><FONT SIZE="+2">
180<B>Method Detail</B></FONT></TD>
181</TR>
182</TABLE>
183
184<A NAME="getConstants(byte[])"><!-- --></A><H3>
185getConstants</H3>
186<PRE>
187public static final java.lang.StringBuffer <B>getConstants</B>(byte[]&nbsp;bytes)
188 throws java.io.IOException</PRE>
189<DL>
190<DD>Get the constants declared in a file as name=value
191<P>
192<DD><DL>
193<DT><B>Parameters:</B><DD><CODE>bytes</CODE> - the class as a array of bytes
194<DT><B>Returns:</B><DD>a StringBuffer contains the name=value pairs
195<DT><B>Throws:</B>
196<DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
197</DD>
198</DL>
199<!-- ========= END OF CLASS DATA ========= -->
200<HR>
201
202
203<!-- ======= START OF BOTTOM NAVBAR ====== -->
204<A NAME="navbar_bottom"><!-- --></A>
205<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
206<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
207<TR>
208<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
209<A NAME="navbar_bottom_firstrow"><!-- --></A>
210<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
211 <TR ALIGN="center" VALIGN="top">
212 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
213 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
214 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
215 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
216 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
217 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
218 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
219 </TR>
220</TABLE>
221</TD>
222<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
223</EM>
224</TD>
225</TR>
226
227<TR>
228<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
229&nbsp;<A HREF="../../../../../../org/apache/tools/ant/filters/util/ChainReaderHelper.html" title="class in org.apache.tools.ant.filters.util"><B>PREV CLASS</B></A>&nbsp;
230&nbsp;NEXT CLASS</FONT></TD>
231<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
232 <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
233&nbsp;<A HREF="JavaClassHelper.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
234&nbsp;<SCRIPT type="text/javascript">
235 <!--
236 if(window==top) {
237 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
238 }
239 //-->
240</SCRIPT>
241<NOSCRIPT>
242 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
243</NOSCRIPT>
244
245</FONT></TD>
246</TR>
247<TR>
248<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
249 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
250<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
251DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
252</TR>
253</TABLE>
254<A NAME="skip-navbar_bottom"></A>
255<!-- ======== END OF BOTTOM NAVBAR ======= -->
256
257<HR>
258Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
259</BODY>
260</HTML>
Note: See TracBrowser for help on using the repository browser.