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.Attribute (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Manifest.Attribute 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.Attribute (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.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.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.Attribute.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.Attribute</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.Manifest.Attribute</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.Attribute</B><DT>extends java.lang.Object</DL>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | An attribute for the manifest.
|
---|
100 | Those attributes that are not nested into a section will be added to the "Main" section.
|
---|
101 | <P>
|
---|
102 |
|
---|
103 | <P>
|
---|
104 | <HR>
|
---|
105 |
|
---|
106 | <P>
|
---|
107 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
108 |
|
---|
109 |
|
---|
110 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
111 |
|
---|
112 |
|
---|
113 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
114 |
|
---|
115 | <A NAME="constructor_summary"><!-- --></A>
|
---|
116 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
117 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
118 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
119 | <B>Constructor Summary</B></FONT></TD>
|
---|
120 | </TR>
|
---|
121 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
122 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#Manifest.Attribute()">Manifest.Attribute</A></B>()</CODE>
|
---|
123 |
|
---|
124 | <BR>
|
---|
125 | Construct an empty attribute</TD>
|
---|
126 | </TR>
|
---|
127 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
128 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#Manifest.Attribute(java.lang.String)">Manifest.Attribute</A></B>(java.lang.String line)</CODE>
|
---|
129 |
|
---|
130 | <BR>
|
---|
131 | Construct an attribute by parsing a line from the Manifest</TD>
|
---|
132 | </TR>
|
---|
133 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
134 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#Manifest.Attribute(java.lang.String, java.lang.String)">Manifest.Attribute</A></B>(java.lang.String name,
|
---|
135 | java.lang.String value)</CODE>
|
---|
136 |
|
---|
137 | <BR>
|
---|
138 | Construct a manifest by specifying its name and value</TD>
|
---|
139 | </TR>
|
---|
140 | </TABLE>
|
---|
141 |
|
---|
142 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
143 |
|
---|
144 | <A NAME="method_summary"><!-- --></A>
|
---|
145 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
146 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
147 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
148 | <B>Method Summary</B></FONT></TD>
|
---|
149 | </TR>
|
---|
150 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
151 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
152 | <CODE> void</CODE></FONT></TD>
|
---|
153 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#addContinuation(java.lang.String)">addContinuation</A></B>(java.lang.String line)</CODE>
|
---|
154 |
|
---|
155 | <BR>
|
---|
156 | Add a continuation line from the Manifest file.</TD>
|
---|
157 | </TR>
|
---|
158 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
160 | <CODE> void</CODE></FONT></TD>
|
---|
161 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#addValue(java.lang.String)">addValue</A></B>(java.lang.String value)</CODE>
|
---|
162 |
|
---|
163 | <BR>
|
---|
164 | Add a new value to this attribute - making it multivalued.</TD>
|
---|
165 | </TR>
|
---|
166 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
167 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
168 | <CODE> boolean</CODE></FONT></TD>
|
---|
169 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object rhs)</CODE>
|
---|
170 |
|
---|
171 | <BR>
|
---|
172 | </TD>
|
---|
173 | </TR>
|
---|
174 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
176 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
177 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#getKey()">getKey</A></B>()</CODE>
|
---|
178 |
|
---|
179 | <BR>
|
---|
180 | Get the attribute's Key - its name in lower case.</TD>
|
---|
181 | </TR>
|
---|
182 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
184 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
185 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#getName()">getName</A></B>()</CODE>
|
---|
186 |
|
---|
187 | <BR>
|
---|
188 | Get the Attribute's name</TD>
|
---|
189 | </TR>
|
---|
190 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
192 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
193 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#getValue()">getValue</A></B>()</CODE>
|
---|
194 |
|
---|
195 | <BR>
|
---|
196 | Get the Attribute's value.</TD>
|
---|
197 | </TR>
|
---|
198 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
199 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
200 | <CODE> java.util.Enumeration</CODE></FONT></TD>
|
---|
201 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#getValues()">getValues</A></B>()</CODE>
|
---|
202 |
|
---|
203 | <BR>
|
---|
204 | Get all the attribute's values.</TD>
|
---|
205 | </TR>
|
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
208 | <CODE> int</CODE></FONT></TD>
|
---|
209 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#hashCode()">hashCode</A></B>()</CODE>
|
---|
210 |
|
---|
211 | <BR>
|
---|
212 | </TD>
|
---|
213 | </TR>
|
---|
214 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
215 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
216 | <CODE> void</CODE></FONT></TD>
|
---|
217 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#parse(java.lang.String)">parse</A></B>(java.lang.String line)</CODE>
|
---|
218 |
|
---|
219 | <BR>
|
---|
220 | Parse a line into name and value pairs</TD>
|
---|
221 | </TR>
|
---|
222 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
224 | <CODE> void</CODE></FONT></TD>
|
---|
225 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE>
|
---|
226 |
|
---|
227 | <BR>
|
---|
228 | Set the Attribute's name; required</TD>
|
---|
229 | </TR>
|
---|
230 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
232 | <CODE> void</CODE></FONT></TD>
|
---|
233 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#setValue(java.lang.String)">setValue</A></B>(java.lang.String value)</CODE>
|
---|
234 |
|
---|
235 | <BR>
|
---|
236 | Set the Attribute's value; required</TD>
|
---|
237 | </TR>
|
---|
238 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
239 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
240 | <CODE> void</CODE></FONT></TD>
|
---|
241 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Attribute.html#write(java.io.PrintWriter)">write</A></B>(java.io.PrintWriter writer)</CODE>
|
---|
242 |
|
---|
243 | <BR>
|
---|
244 | Write the attribute out to a print writer.</TD>
|
---|
245 | </TR>
|
---|
246 | </TABLE>
|
---|
247 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
248 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
249 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
250 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
251 | </TR>
|
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
253 | <TD><CODE>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
254 | </TR>
|
---|
255 | </TABLE>
|
---|
256 |
|
---|
257 | <P>
|
---|
258 |
|
---|
259 | <!-- ============ FIELD DETAIL =========== -->
|
---|
260 |
|
---|
261 |
|
---|
262 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
263 |
|
---|
264 | <A NAME="constructor_detail"><!-- --></A>
|
---|
265 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
266 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
267 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
268 | <B>Constructor Detail</B></FONT></TD>
|
---|
269 | </TR>
|
---|
270 | </TABLE>
|
---|
271 |
|
---|
272 | <A NAME="Manifest.Attribute()"><!-- --></A><H3>
|
---|
273 | Manifest.Attribute</H3>
|
---|
274 | <PRE>
|
---|
275 | public <B>Manifest.Attribute</B>()</PRE>
|
---|
276 | <DL>
|
---|
277 | <DD>Construct an empty attribute
|
---|
278 | <P>
|
---|
279 | </DL>
|
---|
280 | <HR>
|
---|
281 |
|
---|
282 | <A NAME="Manifest.Attribute(java.lang.String)"><!-- --></A><H3>
|
---|
283 | Manifest.Attribute</H3>
|
---|
284 | <PRE>
|
---|
285 | public <B>Manifest.Attribute</B>(java.lang.String line)
|
---|
286 | throws <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></PRE>
|
---|
287 | <DL>
|
---|
288 | <DD>Construct an attribute by parsing a line from the Manifest
|
---|
289 | <P>
|
---|
290 | <DT><B>Parameters:</B><DD><CODE>line</CODE> - the line containing the attribute name and value
|
---|
291 | <DT><B>Throws:</B>
|
---|
292 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></CODE> - if the line is not valid</DL>
|
---|
293 | <HR>
|
---|
294 |
|
---|
295 | <A NAME="Manifest.Attribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
---|
296 | Manifest.Attribute</H3>
|
---|
297 | <PRE>
|
---|
298 | public <B>Manifest.Attribute</B>(java.lang.String name,
|
---|
299 | java.lang.String value)</PRE>
|
---|
300 | <DL>
|
---|
301 | <DD>Construct a manifest by specifying its name and value
|
---|
302 | <P>
|
---|
303 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute's name<DD><CODE>value</CODE> - the Attribute's value</DL>
|
---|
304 |
|
---|
305 | <!-- ============ METHOD DETAIL ========== -->
|
---|
306 |
|
---|
307 | <A NAME="method_detail"><!-- --></A>
|
---|
308 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
309 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
310 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
311 | <B>Method Detail</B></FONT></TD>
|
---|
312 | </TR>
|
---|
313 | </TABLE>
|
---|
314 |
|
---|
315 | <A NAME="hashCode()"><!-- --></A><H3>
|
---|
316 | hashCode</H3>
|
---|
317 | <PRE>
|
---|
318 | public int <B>hashCode</B>()</PRE>
|
---|
319 | <DL>
|
---|
320 | <DD><DL>
|
---|
321 | <DT><B>See Also:</B><DD><CODE>Object.hashCode()</CODE></DL>
|
---|
322 | </DD>
|
---|
323 | </DL>
|
---|
324 | <HR>
|
---|
325 |
|
---|
326 | <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
---|
327 | equals</H3>
|
---|
328 | <PRE>
|
---|
329 | public boolean <B>equals</B>(java.lang.Object rhs)</PRE>
|
---|
330 | <DL>
|
---|
331 | <DD><DL>
|
---|
332 | <DT><B>See Also:</B><DD><CODE>Object.equals(java.lang.Object)</CODE></DL>
|
---|
333 | </DD>
|
---|
334 | </DL>
|
---|
335 | <HR>
|
---|
336 |
|
---|
337 | <A NAME="parse(java.lang.String)"><!-- --></A><H3>
|
---|
338 | parse</H3>
|
---|
339 | <PRE>
|
---|
340 | public void <B>parse</B>(java.lang.String line)
|
---|
341 | throws <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></PRE>
|
---|
342 | <DL>
|
---|
343 | <DD>Parse a line into name and value pairs
|
---|
344 | <P>
|
---|
345 | <DD><DL>
|
---|
346 | <DT><B>Parameters:</B><DD><CODE>line</CODE> - the line to be parsed
|
---|
347 | <DT><B>Throws:</B>
|
---|
348 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></CODE> - if the line does not contain a colon
|
---|
349 | separating the name and value</DL>
|
---|
350 | </DD>
|
---|
351 | </DL>
|
---|
352 | <HR>
|
---|
353 |
|
---|
354 | <A NAME="setName(java.lang.String)"><!-- --></A><H3>
|
---|
355 | setName</H3>
|
---|
356 | <PRE>
|
---|
357 | public void <B>setName</B>(java.lang.String name)</PRE>
|
---|
358 | <DL>
|
---|
359 | <DD>Set the Attribute's name; required
|
---|
360 | <P>
|
---|
361 | <DD><DL>
|
---|
362 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute's name</DL>
|
---|
363 | </DD>
|
---|
364 | </DL>
|
---|
365 | <HR>
|
---|
366 |
|
---|
367 | <A NAME="getName()"><!-- --></A><H3>
|
---|
368 | getName</H3>
|
---|
369 | <PRE>
|
---|
370 | public java.lang.String <B>getName</B>()</PRE>
|
---|
371 | <DL>
|
---|
372 | <DD>Get the Attribute's name
|
---|
373 | <P>
|
---|
374 | <DD><DL>
|
---|
375 |
|
---|
376 | <DT><B>Returns:</B><DD>the attribute's name.</DL>
|
---|
377 | </DD>
|
---|
378 | </DL>
|
---|
379 | <HR>
|
---|
380 |
|
---|
381 | <A NAME="getKey()"><!-- --></A><H3>
|
---|
382 | getKey</H3>
|
---|
383 | <PRE>
|
---|
384 | public java.lang.String <B>getKey</B>()</PRE>
|
---|
385 | <DL>
|
---|
386 | <DD>Get the attribute's Key - its name in lower case.
|
---|
387 | <P>
|
---|
388 | <DD><DL>
|
---|
389 |
|
---|
390 | <DT><B>Returns:</B><DD>the attribute's key.</DL>
|
---|
391 | </DD>
|
---|
392 | </DL>
|
---|
393 | <HR>
|
---|
394 |
|
---|
395 | <A NAME="setValue(java.lang.String)"><!-- --></A><H3>
|
---|
396 | setValue</H3>
|
---|
397 | <PRE>
|
---|
398 | public void <B>setValue</B>(java.lang.String value)</PRE>
|
---|
399 | <DL>
|
---|
400 | <DD>Set the Attribute's value; required
|
---|
401 | <P>
|
---|
402 | <DD><DL>
|
---|
403 | <DT><B>Parameters:</B><DD><CODE>value</CODE> - the attribute's value</DL>
|
---|
404 | </DD>
|
---|
405 | </DL>
|
---|
406 | <HR>
|
---|
407 |
|
---|
408 | <A NAME="getValue()"><!-- --></A><H3>
|
---|
409 | getValue</H3>
|
---|
410 | <PRE>
|
---|
411 | public java.lang.String <B>getValue</B>()</PRE>
|
---|
412 | <DL>
|
---|
413 | <DD>Get the Attribute's value.
|
---|
414 | <P>
|
---|
415 | <DD><DL>
|
---|
416 |
|
---|
417 | <DT><B>Returns:</B><DD>the attribute's value.</DL>
|
---|
418 | </DD>
|
---|
419 | </DL>
|
---|
420 | <HR>
|
---|
421 |
|
---|
422 | <A NAME="addValue(java.lang.String)"><!-- --></A><H3>
|
---|
423 | addValue</H3>
|
---|
424 | <PRE>
|
---|
425 | public void <B>addValue</B>(java.lang.String value)</PRE>
|
---|
426 | <DL>
|
---|
427 | <DD>Add a new value to this attribute - making it multivalued.
|
---|
428 | <P>
|
---|
429 | <DD><DL>
|
---|
430 | <DT><B>Parameters:</B><DD><CODE>value</CODE> - the attribute's additional value</DL>
|
---|
431 | </DD>
|
---|
432 | </DL>
|
---|
433 | <HR>
|
---|
434 |
|
---|
435 | <A NAME="getValues()"><!-- --></A><H3>
|
---|
436 | getValues</H3>
|
---|
437 | <PRE>
|
---|
438 | public java.util.Enumeration <B>getValues</B>()</PRE>
|
---|
439 | <DL>
|
---|
440 | <DD>Get all the attribute's values.
|
---|
441 | <P>
|
---|
442 | <DD><DL>
|
---|
443 |
|
---|
444 | <DT><B>Returns:</B><DD>an enumeration of the attributes values</DL>
|
---|
445 | </DD>
|
---|
446 | </DL>
|
---|
447 | <HR>
|
---|
448 |
|
---|
449 | <A NAME="addContinuation(java.lang.String)"><!-- --></A><H3>
|
---|
450 | addContinuation</H3>
|
---|
451 | <PRE>
|
---|
452 | public void <B>addContinuation</B>(java.lang.String line)</PRE>
|
---|
453 | <DL>
|
---|
454 | <DD>Add a continuation line from the Manifest file.
|
---|
455 |
|
---|
456 | When lines are too long in a manifest, they are continued on the
|
---|
457 | next line by starting with a space. This method adds the continuation
|
---|
458 | data to the attribute value by skipping the first character.
|
---|
459 | <P>
|
---|
460 | <DD><DL>
|
---|
461 | <DT><B>Parameters:</B><DD><CODE>line</CODE> - the continuation line.</DL>
|
---|
462 | </DD>
|
---|
463 | </DL>
|
---|
464 | <HR>
|
---|
465 |
|
---|
466 | <A NAME="write(java.io.PrintWriter)"><!-- --></A><H3>
|
---|
467 | write</H3>
|
---|
468 | <PRE>
|
---|
469 | public void <B>write</B>(java.io.PrintWriter writer)
|
---|
470 | throws java.io.IOException</PRE>
|
---|
471 | <DL>
|
---|
472 | <DD>Write the attribute out to a print writer.
|
---|
473 | <P>
|
---|
474 | <DD><DL>
|
---|
475 | <DT><B>Parameters:</B><DD><CODE>writer</CODE> - the Writer to which the attribute is written
|
---|
476 | <DT><B>Throws:</B>
|
---|
477 | <DD><CODE>java.io.IOException</CODE> - if the attribute value cannot be written</DL>
|
---|
478 | </DD>
|
---|
479 | </DL>
|
---|
480 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
481 | <HR>
|
---|
482 |
|
---|
483 |
|
---|
484 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
485 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
486 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
487 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
488 | <TR>
|
---|
489 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
490 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
491 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
492 | <TR ALIGN="center" VALIGN="top">
|
---|
493 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
494 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
495 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
496 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
497 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
498 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
499 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
500 | </TR>
|
---|
501 | </TABLE>
|
---|
502 | </TD>
|
---|
503 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
504 | </EM>
|
---|
505 | </TD>
|
---|
506 | </TR>
|
---|
507 |
|
---|
508 | <TR>
|
---|
509 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
510 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
511 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.Section.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
512 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
513 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
514 | <A HREF="Manifest.Attribute.html" target="_top"><B>NO FRAMES</B></A>
|
---|
515 | <SCRIPT type="text/javascript">
|
---|
516 | <!--
|
---|
517 | if(window==top) {
|
---|
518 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
519 | }
|
---|
520 | //-->
|
---|
521 | </SCRIPT>
|
---|
522 | <NOSCRIPT>
|
---|
523 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
524 | </NOSCRIPT>
|
---|
525 |
|
---|
526 | </FONT></TD>
|
---|
527 | </TR>
|
---|
528 | <TR>
|
---|
529 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
530 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
531 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
532 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
533 | </TR>
|
---|
534 | </TABLE>
|
---|
535 | <A NAME="skip-navbar_bottom"></A>
|
---|
536 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
537 |
|
---|
538 | <HR>
|
---|
539 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
540 | </BODY>
|
---|
541 | </HTML>
|
---|