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:20 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Manifest.Section (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Manifest.Section class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="Manifest.Section (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> </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="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestTask.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="Manifest.Section.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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">
|
---|
84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
85 | <BR>
|
---|
86 | Class Manifest.Section</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.Manifest.Section</B>
|
---|
90 | </PRE>
|
---|
91 | <DL>
|
---|
92 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.html" title="class in org.apache.tools.ant.taskdefs">Manifest</A></DD>
|
---|
93 | </DL>
|
---|
94 | <HR>
|
---|
95 | <DL>
|
---|
96 | <DT>public static class <B>Manifest.Section</B><DT>extends java.lang.Object</DL>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | A manifest section - you can nest attribute elements into sections.
|
---|
100 | A section consists of a set of attribute values,
|
---|
101 | separated from other sections by a blank line.
|
---|
102 | <P>
|
---|
103 |
|
---|
104 | <P>
|
---|
105 | <HR>
|
---|
106 |
|
---|
107 | <P>
|
---|
108 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
109 |
|
---|
110 |
|
---|
111 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
112 |
|
---|
113 |
|
---|
114 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
115 |
|
---|
116 | <A NAME="constructor_summary"><!-- --></A>
|
---|
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
119 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
120 | <B>Constructor Summary</B></FONT></TD>
|
---|
121 | </TR>
|
---|
122 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
123 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#Manifest.Section()">Manifest.Section</A></B>()</CODE>
|
---|
124 |
|
---|
125 | <BR>
|
---|
126 | </TD>
|
---|
127 | </TR>
|
---|
128 | </TABLE>
|
---|
129 |
|
---|
130 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
131 |
|
---|
132 | <A NAME="method_summary"><!-- --></A>
|
---|
133 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
134 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
135 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
136 | <B>Method Summary</B></FONT></TD>
|
---|
137 | </TR>
|
---|
138 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
139 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
140 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
141 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#addAttributeAndCheck(org.apache.tools.ant.taskdefs.Manifest.Attribute)">addAttributeAndCheck</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html" title="class in org.apache.tools.ant.taskdefs">Manifest.Attribute</A> attribute)</CODE>
|
---|
142 |
|
---|
143 | <BR>
|
---|
144 | Add an attribute to the section</TD>
|
---|
145 | </TR>
|
---|
146 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
147 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
148 | <CODE> void</CODE></FONT></TD>
|
---|
149 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute)">addConfiguredAttribute</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html" title="class in org.apache.tools.ant.taskdefs">Manifest.Attribute</A> attribute)</CODE>
|
---|
150 |
|
---|
151 | <BR>
|
---|
152 | Add an attribute to the section.</TD>
|
---|
153 | </TR>
|
---|
154 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
155 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
156 | <CODE> java.lang.Object</CODE></FONT></TD>
|
---|
157 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#clone()">clone</A></B>()</CODE>
|
---|
158 |
|
---|
159 | <BR>
|
---|
160 | Clone this section</TD>
|
---|
161 | </TR>
|
---|
162 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
163 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
164 | <CODE> boolean</CODE></FONT></TD>
|
---|
165 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object rhs)</CODE>
|
---|
166 |
|
---|
167 | <BR>
|
---|
168 | </TD>
|
---|
169 | </TR>
|
---|
170 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
171 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
172 | <CODE> <A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html" title="class in org.apache.tools.ant.taskdefs">Manifest.Attribute</A></CODE></FONT></TD>
|
---|
173 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#getAttribute(java.lang.String)">getAttribute</A></B>(java.lang.String attributeName)</CODE>
|
---|
174 |
|
---|
175 | <BR>
|
---|
176 | Get a attribute of the section</TD>
|
---|
177 | </TR>
|
---|
178 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
179 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
180 | <CODE> java.util.Enumeration</CODE></FONT></TD>
|
---|
181 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#getAttributeKeys()">getAttributeKeys</A></B>()</CODE>
|
---|
182 |
|
---|
183 | <BR>
|
---|
184 | Get the attribute keys.</TD>
|
---|
185 | </TR>
|
---|
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/tools/ant/taskdefs/Manifest.Section.html#getAttributeValue(java.lang.String)">getAttributeValue</A></B>(java.lang.String attributeName)</CODE>
|
---|
190 |
|
---|
191 | <BR>
|
---|
192 | Get the value of the attribute with the name given.</TD>
|
---|
193 | </TR>
|
---|
194 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
195 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
196 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
197 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#getName()">getName</A></B>()</CODE>
|
---|
198 |
|
---|
199 | <BR>
|
---|
200 | Get the Section's name.</TD>
|
---|
201 | </TR>
|
---|
202 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
203 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
204 | <CODE> java.util.Enumeration</CODE></FONT></TD>
|
---|
205 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#getWarnings()">getWarnings</A></B>()</CODE>
|
---|
206 |
|
---|
207 | <BR>
|
---|
208 | Get the warnings for this section.</TD>
|
---|
209 | </TR>
|
---|
210 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
212 | <CODE> int</CODE></FONT></TD>
|
---|
213 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#hashCode()">hashCode</A></B>()</CODE>
|
---|
214 |
|
---|
215 | <BR>
|
---|
216 | </TD>
|
---|
217 | </TR>
|
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
220 | <CODE> void</CODE></FONT></TD>
|
---|
221 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#merge(org.apache.tools.ant.taskdefs.Manifest.Section)">merge</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html" title="class in org.apache.tools.ant.taskdefs">Manifest.Section</A> section)</CODE>
|
---|
222 |
|
---|
223 | <BR>
|
---|
224 | Merge in another section</TD>
|
---|
225 | </TR>
|
---|
226 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
228 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
229 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#read(java.io.BufferedReader)">read</A></B>(java.io.BufferedReader reader)</CODE>
|
---|
230 |
|
---|
231 | <BR>
|
---|
232 | Read a section through a reader.</TD>
|
---|
233 | </TR>
|
---|
234 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
235 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
236 | <CODE> void</CODE></FONT></TD>
|
---|
237 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#removeAttribute(java.lang.String)">removeAttribute</A></B>(java.lang.String attributeName)</CODE>
|
---|
238 |
|
---|
239 | <BR>
|
---|
240 | Remove tge given attribute from the section</TD>
|
---|
241 | </TR>
|
---|
242 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
244 | <CODE> void</CODE></FONT></TD>
|
---|
245 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE>
|
---|
246 |
|
---|
247 | <BR>
|
---|
248 | The name of the section; optional -default is the main section.</TD>
|
---|
249 | </TR>
|
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
252 | <CODE> void</CODE></FONT></TD>
|
---|
253 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html#write(java.io.PrintWriter)">write</A></B>(java.io.PrintWriter writer)</CODE>
|
---|
254 |
|
---|
255 | <BR>
|
---|
256 | Write the section out to a print writer.</TD>
|
---|
257 | </TR>
|
---|
258 | </TABLE>
|
---|
259 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
260 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
261 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
262 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
263 | </TR>
|
---|
264 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
265 | <TD><CODE>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
266 | </TR>
|
---|
267 | </TABLE>
|
---|
268 |
|
---|
269 | <P>
|
---|
270 |
|
---|
271 | <!-- ============ FIELD DETAIL =========== -->
|
---|
272 |
|
---|
273 |
|
---|
274 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
275 |
|
---|
276 | <A NAME="constructor_detail"><!-- --></A>
|
---|
277 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
278 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
279 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
280 | <B>Constructor Detail</B></FONT></TD>
|
---|
281 | </TR>
|
---|
282 | </TABLE>
|
---|
283 |
|
---|
284 | <A NAME="Manifest.Section()"><!-- --></A><H3>
|
---|
285 | Manifest.Section</H3>
|
---|
286 | <PRE>
|
---|
287 | public <B>Manifest.Section</B>()</PRE>
|
---|
288 | <DL>
|
---|
289 | </DL>
|
---|
290 |
|
---|
291 | <!-- ============ METHOD DETAIL ========== -->
|
---|
292 |
|
---|
293 | <A NAME="method_detail"><!-- --></A>
|
---|
294 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
295 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
296 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
297 | <B>Method Detail</B></FONT></TD>
|
---|
298 | </TR>
|
---|
299 | </TABLE>
|
---|
300 |
|
---|
301 | <A NAME="setName(java.lang.String)"><!-- --></A><H3>
|
---|
302 | setName</H3>
|
---|
303 | <PRE>
|
---|
304 | public void <B>setName</B>(java.lang.String name)</PRE>
|
---|
305 | <DL>
|
---|
306 | <DD>The name of the section; optional -default is the main section.
|
---|
307 | <P>
|
---|
308 | <DD><DL>
|
---|
309 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the section's name</DL>
|
---|
310 | </DD>
|
---|
311 | </DL>
|
---|
312 | <HR>
|
---|
313 |
|
---|
314 | <A NAME="getName()"><!-- --></A><H3>
|
---|
315 | getName</H3>
|
---|
316 | <PRE>
|
---|
317 | public java.lang.String <B>getName</B>()</PRE>
|
---|
318 | <DL>
|
---|
319 | <DD>Get the Section's name.
|
---|
320 | <P>
|
---|
321 | <DD><DL>
|
---|
322 |
|
---|
323 | <DT><B>Returns:</B><DD>the section's name.</DL>
|
---|
324 | </DD>
|
---|
325 | </DL>
|
---|
326 | <HR>
|
---|
327 |
|
---|
328 | <A NAME="read(java.io.BufferedReader)"><!-- --></A><H3>
|
---|
329 | read</H3>
|
---|
330 | <PRE>
|
---|
331 | public java.lang.String <B>read</B>(java.io.BufferedReader reader)
|
---|
332 | throws <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A>,
|
---|
333 | java.io.IOException</PRE>
|
---|
334 | <DL>
|
---|
335 | <DD>Read a section through a reader.
|
---|
336 | <P>
|
---|
337 | <DD><DL>
|
---|
338 | <DT><B>Parameters:</B><DD><CODE>reader</CODE> - the reader from which the section is read
|
---|
339 | <DT><B>Returns:</B><DD>the name of the next section if it has been read as
|
---|
340 | part of this section - This only happens if the
|
---|
341 | Manifest is malformed.
|
---|
342 | <DT><B>Throws:</B>
|
---|
343 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></CODE> - if the section is not valid according
|
---|
344 | to the JAR spec
|
---|
345 | <DD><CODE>java.io.IOException</CODE> - if the section cannot be read from the reader.</DL>
|
---|
346 | </DD>
|
---|
347 | </DL>
|
---|
348 | <HR>
|
---|
349 |
|
---|
350 | <A NAME="merge(org.apache.tools.ant.taskdefs.Manifest.Section)"><!-- --></A><H3>
|
---|
351 | merge</H3>
|
---|
352 | <PRE>
|
---|
353 | public void <B>merge</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html" title="class in org.apache.tools.ant.taskdefs">Manifest.Section</A> section)
|
---|
354 | throws <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></PRE>
|
---|
355 | <DL>
|
---|
356 | <DD>Merge in another section
|
---|
357 | <P>
|
---|
358 | <DD><DL>
|
---|
359 | <DT><B>Parameters:</B><DD><CODE>section</CODE> - the section to be merged with this one.
|
---|
360 | <DT><B>Throws:</B>
|
---|
361 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></CODE> - if the sections cannot be merged.</DL>
|
---|
362 | </DD>
|
---|
363 | </DL>
|
---|
364 | <HR>
|
---|
365 |
|
---|
366 | <A NAME="write(java.io.PrintWriter)"><!-- --></A><H3>
|
---|
367 | write</H3>
|
---|
368 | <PRE>
|
---|
369 | public void <B>write</B>(java.io.PrintWriter writer)
|
---|
370 | throws java.io.IOException</PRE>
|
---|
371 | <DL>
|
---|
372 | <DD>Write the section out to a print writer.
|
---|
373 | <P>
|
---|
374 | <DD><DL>
|
---|
375 | <DT><B>Parameters:</B><DD><CODE>writer</CODE> - the Writer to which the section is written
|
---|
376 | <DT><B>Throws:</B>
|
---|
377 | <DD><CODE>java.io.IOException</CODE> - if the section cannot be written</DL>
|
---|
378 | </DD>
|
---|
379 | </DL>
|
---|
380 | <HR>
|
---|
381 |
|
---|
382 | <A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>
|
---|
383 | getAttribute</H3>
|
---|
384 | <PRE>
|
---|
385 | public <A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html" title="class in org.apache.tools.ant.taskdefs">Manifest.Attribute</A> <B>getAttribute</B>(java.lang.String attributeName)</PRE>
|
---|
386 | <DL>
|
---|
387 | <DD>Get a attribute of the section
|
---|
388 | <P>
|
---|
389 | <DD><DL>
|
---|
390 | <DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name of the attribute
|
---|
391 | <DT><B>Returns:</B><DD>a Manifest.Attribute instance if the attribute is
|
---|
392 | single-valued, otherwise a Vector of Manifest.Attribute
|
---|
393 | instances.</DL>
|
---|
394 | </DD>
|
---|
395 | </DL>
|
---|
396 | <HR>
|
---|
397 |
|
---|
398 | <A NAME="getAttributeKeys()"><!-- --></A><H3>
|
---|
399 | getAttributeKeys</H3>
|
---|
400 | <PRE>
|
---|
401 | public java.util.Enumeration <B>getAttributeKeys</B>()</PRE>
|
---|
402 | <DL>
|
---|
403 | <DD>Get the attribute keys.
|
---|
404 | <P>
|
---|
405 | <DD><DL>
|
---|
406 |
|
---|
407 | <DT><B>Returns:</B><DD>an Enumeration of Strings, each string being the lower case
|
---|
408 | key of an attribute of the section.</DL>
|
---|
409 | </DD>
|
---|
410 | </DL>
|
---|
411 | <HR>
|
---|
412 |
|
---|
413 | <A NAME="getAttributeValue(java.lang.String)"><!-- --></A><H3>
|
---|
414 | getAttributeValue</H3>
|
---|
415 | <PRE>
|
---|
416 | public java.lang.String <B>getAttributeValue</B>(java.lang.String attributeName)</PRE>
|
---|
417 | <DL>
|
---|
418 | <DD>Get the value of the attribute with the name given.
|
---|
419 | <P>
|
---|
420 | <DD><DL>
|
---|
421 | <DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name of the attribute to be returned.
|
---|
422 | <DT><B>Returns:</B><DD>the attribute's value or null if the attribute does not exist
|
---|
423 | in the section</DL>
|
---|
424 | </DD>
|
---|
425 | </DL>
|
---|
426 | <HR>
|
---|
427 |
|
---|
428 | <A NAME="removeAttribute(java.lang.String)"><!-- --></A><H3>
|
---|
429 | removeAttribute</H3>
|
---|
430 | <PRE>
|
---|
431 | public void <B>removeAttribute</B>(java.lang.String attributeName)</PRE>
|
---|
432 | <DL>
|
---|
433 | <DD>Remove tge given attribute from the section
|
---|
434 | <P>
|
---|
435 | <DD><DL>
|
---|
436 | <DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name of the attribute to be removed.</DL>
|
---|
437 | </DD>
|
---|
438 | </DL>
|
---|
439 | <HR>
|
---|
440 |
|
---|
441 | <A NAME="addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute)"><!-- --></A><H3>
|
---|
442 | addConfiguredAttribute</H3>
|
---|
443 | <PRE>
|
---|
444 | public void <B>addConfiguredAttribute</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html" title="class in org.apache.tools.ant.taskdefs">Manifest.Attribute</A> attribute)
|
---|
445 | throws <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></PRE>
|
---|
446 | <DL>
|
---|
447 | <DD>Add an attribute to the section.
|
---|
448 | <P>
|
---|
449 | <DD><DL>
|
---|
450 | <DT><B>Parameters:</B><DD><CODE>attribute</CODE> - the attribute to be added to the section
|
---|
451 | <DT><B>Throws:</B>
|
---|
452 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></CODE> - if the attribute is not valid.</DL>
|
---|
453 | </DD>
|
---|
454 | </DL>
|
---|
455 | <HR>
|
---|
456 |
|
---|
457 | <A NAME="addAttributeAndCheck(org.apache.tools.ant.taskdefs.Manifest.Attribute)"><!-- --></A><H3>
|
---|
458 | addAttributeAndCheck</H3>
|
---|
459 | <PRE>
|
---|
460 | public java.lang.String <B>addAttributeAndCheck</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html" title="class in org.apache.tools.ant.taskdefs">Manifest.Attribute</A> attribute)
|
---|
461 | throws <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></PRE>
|
---|
462 | <DL>
|
---|
463 | <DD>Add an attribute to the section
|
---|
464 | <P>
|
---|
465 | <DD><DL>
|
---|
466 | <DT><B>Parameters:</B><DD><CODE>attribute</CODE> - the attribute to be added.
|
---|
467 | <DT><B>Returns:</B><DD>the value of the attribute if it is a name
|
---|
468 | attribute - null other wise
|
---|
469 | <DT><B>Throws:</B>
|
---|
470 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></CODE> - if the attribute already
|
---|
471 | exists in this section.</DL>
|
---|
472 | </DD>
|
---|
473 | </DL>
|
---|
474 | <HR>
|
---|
475 |
|
---|
476 | <A NAME="clone()"><!-- --></A><H3>
|
---|
477 | clone</H3>
|
---|
478 | <PRE>
|
---|
479 | public java.lang.Object <B>clone</B>()</PRE>
|
---|
480 | <DL>
|
---|
481 | <DD>Clone this section
|
---|
482 | <P>
|
---|
483 | <DD><DL>
|
---|
484 |
|
---|
485 | <DT><B>Returns:</B><DD>the cloned Section<DT><B>Since:</B></DT>
|
---|
486 | <DD>Ant 1.5.2</DD>
|
---|
487 | </DL>
|
---|
488 | </DD>
|
---|
489 | </DL>
|
---|
490 | <HR>
|
---|
491 |
|
---|
492 | <A NAME="getWarnings()"><!-- --></A><H3>
|
---|
493 | getWarnings</H3>
|
---|
494 | <PRE>
|
---|
495 | public java.util.Enumeration <B>getWarnings</B>()</PRE>
|
---|
496 | <DL>
|
---|
497 | <DD>Get the warnings for this section.
|
---|
498 | <P>
|
---|
499 | <DD><DL>
|
---|
500 |
|
---|
501 | <DT><B>Returns:</B><DD>an Enumeration of warning strings.</DL>
|
---|
502 | </DD>
|
---|
503 | </DL>
|
---|
504 | <HR>
|
---|
505 |
|
---|
506 | <A NAME="hashCode()"><!-- --></A><H3>
|
---|
507 | hashCode</H3>
|
---|
508 | <PRE>
|
---|
509 | public int <B>hashCode</B>()</PRE>
|
---|
510 | <DL>
|
---|
511 | <DD><DL>
|
---|
512 | <DT><B>See Also:</B><DD><CODE>Object.hashCode()</CODE></DL>
|
---|
513 | </DD>
|
---|
514 | </DL>
|
---|
515 | <HR>
|
---|
516 |
|
---|
517 | <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
---|
518 | equals</H3>
|
---|
519 | <PRE>
|
---|
520 | public boolean <B>equals</B>(java.lang.Object rhs)</PRE>
|
---|
521 | <DL>
|
---|
522 | <DD><DL>
|
---|
523 | <DT><B>See Also:</B><DD><CODE>Object.equals(java.lang.Object)</CODE></DL>
|
---|
524 | </DD>
|
---|
525 | </DL>
|
---|
526 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
527 | <HR>
|
---|
528 |
|
---|
529 |
|
---|
530 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
531 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
532 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
533 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
534 | <TR>
|
---|
535 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
536 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
537 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
538 | <TR ALIGN="center" VALIGN="top">
|
---|
539 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
540 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
541 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
542 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
543 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
544 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
545 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
546 | </TR>
|
---|
547 | </TABLE>
|
---|
548 | </TD>
|
---|
549 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
550 | </EM>
|
---|
551 | </TD>
|
---|
552 | </TR>
|
---|
553 |
|
---|
554 | <TR>
|
---|
555 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
556 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
557 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestTask.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
558 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
559 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
560 | <A HREF="Manifest.Section.html" target="_top"><B>NO FRAMES</B></A>
|
---|
561 | <SCRIPT type="text/javascript">
|
---|
562 | <!--
|
---|
563 | if(window==top) {
|
---|
564 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
565 | }
|
---|
566 | //-->
|
---|
567 | </SCRIPT>
|
---|
568 | <NOSCRIPT>
|
---|
569 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
570 | </NOSCRIPT>
|
---|
571 |
|
---|
572 | </FONT></TD>
|
---|
573 | </TR>
|
---|
574 | <TR>
|
---|
575 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
576 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
577 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
578 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
579 | </TR>
|
---|
580 | </TABLE>
|
---|
581 | <A NAME="skip-navbar_bottom"></A>
|
---|
582 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
583 |
|
---|
584 | <HR>
|
---|
585 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
586 | </BODY>
|
---|
587 | </HTML>
|
---|