source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/taskdefs/optional/extension/Specification.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: 34.5 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:26 NZST 2007 -->
6<TITLE>
7Specification (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.extension.Specification 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="Specification (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/taskdefs/optional/extension/LibFileSet.html" title="class in org.apache.tools.ant.taskdefs.optional.extension"><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="Specification.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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.taskdefs.optional.extension</FONT>
85<BR>
86Class Specification</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.extension.Specification</B>
90</PRE>
91<HR>
92<DL>
93<DT>public final class <B>Specification</B><DT>extends java.lang.Object</DL>
94
95<P>
96<p>Utility class that represents either an available "Optional Package"
97 (formerly known as "Standard Extension") as described in the manifest
98 of a JAR file, or the requirement for such an optional package.</p>
99
100 <p>For more information about optional packages, see the document
101 <em>Optional Package Versioning</em> in the documentation bundle for your
102 Java2 Standard Edition package, in file
103 <code>guide/extensions/versioning.html</code>.</p>
104<P>
105
106<P>
107<HR>
108
109<P>
110<!-- ======== NESTED CLASS SUMMARY ======== -->
111
112
113<!-- =========== FIELD SUMMARY =========== -->
114
115<A NAME="field_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>Field Summary</B></FONT></TD>
120</TR>
121<TR BGCOLOR="white" CLASS="TableRowColor">
122<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123<CODE>static&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A></CODE></FONT></TD>
124<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#COMPATIBLE">COMPATIBLE</A></B></CODE>
125
126<BR>
127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enum indicating that extension is compatible with other Package
128 Specification.</TD>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132<CODE>static&nbsp;java.util.jar.Attributes.Name</CODE></FONT></TD>
133<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#IMPLEMENTATION_TITLE">IMPLEMENTATION_TITLE</A></B></CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manifest Attribute Name object for IMPLEMENTATION_TITLE.</TD>
137</TR>
138<TR BGCOLOR="white" CLASS="TableRowColor">
139<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140<CODE>static&nbsp;java.util.jar.Attributes.Name</CODE></FONT></TD>
141<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#IMPLEMENTATION_VENDOR">IMPLEMENTATION_VENDOR</A></B></CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manifest Attribute Name object for IMPLEMENTATION_VENDOR.</TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148<CODE>static&nbsp;java.util.jar.Attributes.Name</CODE></FONT></TD>
149<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#IMPLEMENTATION_VERSION">IMPLEMENTATION_VERSION</A></B></CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manifest Attribute Name object for IMPLEMENTATION_VERSION.</TD>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156<CODE>static&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A></CODE></FONT></TD>
157<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#INCOMPATIBLE">INCOMPATIBLE</A></B></CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum indicates that an extension is incompatible with
161 other Package Specification in ways other than other enums
162 indicate.</TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>static&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A></CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#REQUIRE_IMPLEMENTATION_CHANGE">REQUIRE_IMPLEMENTATION_CHANGE</A></B></CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enum indicating that extension requires an upgrade
171 of implementation to be compatible with other Package Specification.</TD>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>static&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A></CODE></FONT></TD>
176<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#REQUIRE_SPECIFICATION_UPGRADE">REQUIRE_SPECIFICATION_UPGRADE</A></B></CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enum indicating that extension requires an upgrade
180 of specification to be compatible with other Package Specification.</TD>
181</TR>
182<TR BGCOLOR="white" CLASS="TableRowColor">
183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184<CODE>static&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A></CODE></FONT></TD>
185<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#REQUIRE_VENDOR_SWITCH">REQUIRE_VENDOR_SWITCH</A></B></CODE>
186
187<BR>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enum indicating that extension requires a vendor
189 switch to be compatible with other Package Specification.</TD>
190</TR>
191<TR BGCOLOR="white" CLASS="TableRowColor">
192<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193<CODE>static&nbsp;java.util.jar.Attributes.Name</CODE></FONT></TD>
194<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#SPECIFICATION_TITLE">SPECIFICATION_TITLE</A></B></CODE>
195
196<BR>
197&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manifest Attribute Name object for SPECIFICATION_TITLE.</TD>
198</TR>
199<TR BGCOLOR="white" CLASS="TableRowColor">
200<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201<CODE>static&nbsp;java.util.jar.Attributes.Name</CODE></FONT></TD>
202<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#SPECIFICATION_VENDOR">SPECIFICATION_VENDOR</A></B></CODE>
203
204<BR>
205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manifest Attribute Name object for SPECIFICATION_VENDOR.</TD>
206</TR>
207<TR BGCOLOR="white" CLASS="TableRowColor">
208<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209<CODE>static&nbsp;java.util.jar.Attributes.Name</CODE></FONT></TD>
210<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#SPECIFICATION_VERSION">SPECIFICATION_VERSION</A></B></CODE>
211
212<BR>
213&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manifest Attribute Name object for SPECIFICATION_VERSION.</TD>
214</TR>
215</TABLE>
216&nbsp;
217<!-- ======== CONSTRUCTOR SUMMARY ======== -->
218
219<A NAME="constructor_summary"><!-- --></A>
220<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
221<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
222<TD COLSPAN=2><FONT SIZE="+2">
223<B>Constructor Summary</B></FONT></TD>
224</TR>
225<TR BGCOLOR="white" CLASS="TableRowColor">
226<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#Specification(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">Specification</A></B>(java.lang.String&nbsp;specificationTitle,
227 java.lang.String&nbsp;specificationVersion,
228 java.lang.String&nbsp;specificationVendor,
229 java.lang.String&nbsp;implementationTitle,
230 java.lang.String&nbsp;implementationVersion,
231 java.lang.String&nbsp;implementationVendor)</CODE>
232
233<BR>
234&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constructor to create Package Specification object.</TD>
235</TR>
236<TR BGCOLOR="white" CLASS="TableRowColor">
237<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#Specification(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])">Specification</A></B>(java.lang.String&nbsp;specificationTitle,
238 java.lang.String&nbsp;specificationVersion,
239 java.lang.String&nbsp;specificationVendor,
240 java.lang.String&nbsp;implementationTitle,
241 java.lang.String&nbsp;implementationVersion,
242 java.lang.String&nbsp;implementationVendor,
243 java.lang.String[]&nbsp;sections)</CODE>
244
245<BR>
246&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constructor to create Package Specification object.</TD>
247</TR>
248</TABLE>
249&nbsp;
250<!-- ========== METHOD SUMMARY =========== -->
251
252<A NAME="method_summary"><!-- --></A>
253<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
254<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
255<TD COLSPAN=2><FONT SIZE="+2">
256<B>Method Summary</B></FONT></TD>
257</TR>
258<TR BGCOLOR="white" CLASS="TableRowColor">
259<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260<CODE>&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A></CODE></FONT></TD>
261<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getCompatibilityWith(org.apache.tools.ant.taskdefs.optional.extension.Specification)">getCompatibilityWith</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</A>&nbsp;other)</CODE>
262
263<BR>
264&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a Compatibility enum indicating the relationship of this
265 <code>Package Specification</code> with the specified
266 <code>Extension</code>.</TD>
267</TR>
268<TR BGCOLOR="white" CLASS="TableRowColor">
269<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
270<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
271<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getImplementationTitle()">getImplementationTitle</A></B>()</CODE>
272
273<BR>
274&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the title of the specification.</TD>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
279<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getImplementationVendor()">getImplementationVendor</A></B>()</CODE>
280
281<BR>
282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the vendor of the extensions implementation.</TD>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
287<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getImplementationVersion()">getImplementationVersion</A></B>()</CODE>
288
289<BR>
290&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the version of the implementation.</TD>
291</TR>
292<TR BGCOLOR="white" CLASS="TableRowColor">
293<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
295<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSections()">getSections</A></B>()</CODE>
296
297<BR>
298&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array containing sections to which specification applies
299 or null if relevent to no sections.</TD>
300</TR>
301<TR BGCOLOR="white" CLASS="TableRowColor">
302<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303<CODE>static&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</A>[]</CODE></FONT></TD>
304<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSpecifications(java.util.jar.Manifest)">getSpecifications</A></B>(java.util.jar.Manifest&nbsp;manifest)</CODE>
305
306<BR>
307&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an array of <code>Package Specification</code> objects.</TD>
308</TR>
309<TR BGCOLOR="white" CLASS="TableRowColor">
310<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
312<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSpecificationTitle()">getSpecificationTitle</A></B>()</CODE>
313
314<BR>
315&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the title of the specification.</TD>
316</TR>
317<TR BGCOLOR="white" CLASS="TableRowColor">
318<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
320<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSpecificationVendor()">getSpecificationVendor</A></B>()</CODE>
321
322<BR>
323&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the vendor of the specification.</TD>
324</TR>
325<TR BGCOLOR="white" CLASS="TableRowColor">
326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327<CODE>&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">DeweyDecimal</A></CODE></FONT></TD>
328<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSpecificationVersion()">getSpecificationVersion</A></B>()</CODE>
329
330<BR>
331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the version of the specification.</TD>
332</TR>
333<TR BGCOLOR="white" CLASS="TableRowColor">
334<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
335<CODE>&nbsp;boolean</CODE></FONT></TD>
336<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#isCompatibleWith(org.apache.tools.ant.taskdefs.optional.extension.Specification)">isCompatibleWith</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</A>&nbsp;other)</CODE>
337
338<BR>
339&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return <code>true</code> if the specified <code>package</code>
340 is satisfied by this <code>Specification</code>.</TD>
341</TR>
342<TR BGCOLOR="white" CLASS="TableRowColor">
343<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
344<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
345<TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#toString()">toString</A></B>()</CODE>
346
347<BR>
348&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a String representation of this object.</TD>
349</TR>
350</TABLE>
351&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
352<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
353<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
354<TD><B>Methods inherited from class java.lang.Object</B></TD>
355</TR>
356<TR BGCOLOR="white" CLASS="TableRowColor">
357<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
358</TR>
359</TABLE>
360&nbsp;
361<P>
362
363<!-- ============ FIELD DETAIL =========== -->
364
365<A NAME="field_detail"><!-- --></A>
366<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
367<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
368<TD COLSPAN=1><FONT SIZE="+2">
369<B>Field Detail</B></FONT></TD>
370</TR>
371</TABLE>
372
373<A NAME="SPECIFICATION_TITLE"><!-- --></A><H3>
374SPECIFICATION_TITLE</H3>
375<PRE>
376public static final java.util.jar.Attributes.Name <B>SPECIFICATION_TITLE</B></PRE>
377<DL>
378<DD>Manifest Attribute Name object for SPECIFICATION_TITLE.
379<P>
380<DL>
381</DL>
382</DL>
383<HR>
384
385<A NAME="SPECIFICATION_VERSION"><!-- --></A><H3>
386SPECIFICATION_VERSION</H3>
387<PRE>
388public static final java.util.jar.Attributes.Name <B>SPECIFICATION_VERSION</B></PRE>
389<DL>
390<DD>Manifest Attribute Name object for SPECIFICATION_VERSION.
391<P>
392<DL>
393</DL>
394</DL>
395<HR>
396
397<A NAME="SPECIFICATION_VENDOR"><!-- --></A><H3>
398SPECIFICATION_VENDOR</H3>
399<PRE>
400public static final java.util.jar.Attributes.Name <B>SPECIFICATION_VENDOR</B></PRE>
401<DL>
402<DD>Manifest Attribute Name object for SPECIFICATION_VENDOR.
403<P>
404<DL>
405</DL>
406</DL>
407<HR>
408
409<A NAME="IMPLEMENTATION_TITLE"><!-- --></A><H3>
410IMPLEMENTATION_TITLE</H3>
411<PRE>
412public static final java.util.jar.Attributes.Name <B>IMPLEMENTATION_TITLE</B></PRE>
413<DL>
414<DD>Manifest Attribute Name object for IMPLEMENTATION_TITLE.
415<P>
416<DL>
417</DL>
418</DL>
419<HR>
420
421<A NAME="IMPLEMENTATION_VERSION"><!-- --></A><H3>
422IMPLEMENTATION_VERSION</H3>
423<PRE>
424public static final java.util.jar.Attributes.Name <B>IMPLEMENTATION_VERSION</B></PRE>
425<DL>
426<DD>Manifest Attribute Name object for IMPLEMENTATION_VERSION.
427<P>
428<DL>
429</DL>
430</DL>
431<HR>
432
433<A NAME="IMPLEMENTATION_VENDOR"><!-- --></A><H3>
434IMPLEMENTATION_VENDOR</H3>
435<PRE>
436public static final java.util.jar.Attributes.Name <B>IMPLEMENTATION_VENDOR</B></PRE>
437<DL>
438<DD>Manifest Attribute Name object for IMPLEMENTATION_VENDOR.
439<P>
440<DL>
441</DL>
442</DL>
443<HR>
444
445<A NAME="COMPATIBLE"><!-- --></A><H3>
446COMPATIBLE</H3>
447<PRE>
448public static final <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A> <B>COMPATIBLE</B></PRE>
449<DL>
450<DD>Enum indicating that extension is compatible with other Package
451 Specification.
452<P>
453<DL>
454</DL>
455</DL>
456<HR>
457
458<A NAME="REQUIRE_SPECIFICATION_UPGRADE"><!-- --></A><H3>
459REQUIRE_SPECIFICATION_UPGRADE</H3>
460<PRE>
461public static final <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A> <B>REQUIRE_SPECIFICATION_UPGRADE</B></PRE>
462<DL>
463<DD>Enum indicating that extension requires an upgrade
464 of specification to be compatible with other Package Specification.
465<P>
466<DL>
467</DL>
468</DL>
469<HR>
470
471<A NAME="REQUIRE_VENDOR_SWITCH"><!-- --></A><H3>
472REQUIRE_VENDOR_SWITCH</H3>
473<PRE>
474public static final <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A> <B>REQUIRE_VENDOR_SWITCH</B></PRE>
475<DL>
476<DD>Enum indicating that extension requires a vendor
477 switch to be compatible with other Package Specification.
478<P>
479<DL>
480</DL>
481</DL>
482<HR>
483
484<A NAME="REQUIRE_IMPLEMENTATION_CHANGE"><!-- --></A><H3>
485REQUIRE_IMPLEMENTATION_CHANGE</H3>
486<PRE>
487public static final <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A> <B>REQUIRE_IMPLEMENTATION_CHANGE</B></PRE>
488<DL>
489<DD>Enum indicating that extension requires an upgrade
490 of implementation to be compatible with other Package Specification.
491<P>
492<DL>
493</DL>
494</DL>
495<HR>
496
497<A NAME="INCOMPATIBLE"><!-- --></A><H3>
498INCOMPATIBLE</H3>
499<PRE>
500public static final <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A> <B>INCOMPATIBLE</B></PRE>
501<DL>
502<DD>This enum indicates that an extension is incompatible with
503 other Package Specification in ways other than other enums
504 indicate. For example, the other Package Specification
505 may have a different ID.
506<P>
507<DL>
508</DL>
509</DL>
510
511<!-- ========= CONSTRUCTOR DETAIL ======== -->
512
513<A NAME="constructor_detail"><!-- --></A>
514<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
515<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
516<TD COLSPAN=1><FONT SIZE="+2">
517<B>Constructor Detail</B></FONT></TD>
518</TR>
519</TABLE>
520
521<A NAME="Specification(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
522Specification</H3>
523<PRE>
524public <B>Specification</B>(java.lang.String&nbsp;specificationTitle,
525 java.lang.String&nbsp;specificationVersion,
526 java.lang.String&nbsp;specificationVendor,
527 java.lang.String&nbsp;implementationTitle,
528 java.lang.String&nbsp;implementationVersion,
529 java.lang.String&nbsp;implementationVendor)</PRE>
530<DL>
531<DD>The constructor to create Package Specification object.
532 Note that every component is allowed to be specified
533 but only the specificationTitle is mandatory.
534<P>
535<DT><B>Parameters:</B><DD><CODE>specificationTitle</CODE> - the name of specification.<DD><CODE>specificationVersion</CODE> - the specification Version.<DD><CODE>specificationVendor</CODE> - the specification Vendor.<DD><CODE>implementationTitle</CODE> - the title of implementation.<DD><CODE>implementationVersion</CODE> - the implementation Version.<DD><CODE>implementationVendor</CODE> - the implementation Vendor.</DL>
536<HR>
537
538<A NAME="Specification(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])"><!-- --></A><H3>
539Specification</H3>
540<PRE>
541public <B>Specification</B>(java.lang.String&nbsp;specificationTitle,
542 java.lang.String&nbsp;specificationVersion,
543 java.lang.String&nbsp;specificationVendor,
544 java.lang.String&nbsp;implementationTitle,
545 java.lang.String&nbsp;implementationVersion,
546 java.lang.String&nbsp;implementationVendor,
547 java.lang.String[]&nbsp;sections)</PRE>
548<DL>
549<DD>The constructor to create Package Specification object.
550 Note that every component is allowed to be specified
551 but only the specificationTitle is mandatory.
552<P>
553<DT><B>Parameters:</B><DD><CODE>specificationTitle</CODE> - the name of specification.<DD><CODE>specificationVersion</CODE> - the specification Version.<DD><CODE>specificationVendor</CODE> - the specification Vendor.<DD><CODE>implementationTitle</CODE> - the title of implementation.<DD><CODE>implementationVersion</CODE> - the implementation Version.<DD><CODE>implementationVendor</CODE> - the implementation Vendor.<DD><CODE>sections</CODE> - the sections/packages that Specification applies to.</DL>
554
555<!-- ============ METHOD DETAIL ========== -->
556
557<A NAME="method_detail"><!-- --></A>
558<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
559<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
560<TD COLSPAN=1><FONT SIZE="+2">
561<B>Method Detail</B></FONT></TD>
562</TR>
563</TABLE>
564
565<A NAME="getSpecifications(java.util.jar.Manifest)"><!-- --></A><H3>
566getSpecifications</H3>
567<PRE>
568public static <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</A>[] <B>getSpecifications</B>(java.util.jar.Manifest&nbsp;manifest)
569 throws java.text.ParseException</PRE>
570<DL>
571<DD>Return an array of <code>Package Specification</code> objects.
572 If there are no such optional packages, a zero-length array is returned.
573<P>
574<DD><DL>
575<DT><B>Parameters:</B><DD><CODE>manifest</CODE> - Manifest to be parsed
576<DT><B>Returns:</B><DD>the Package Specifications extensions in specified manifest
577<DT><B>Throws:</B>
578<DD><CODE>java.text.ParseException</CODE> - if the attributes of the specifications cannot
579 be parsed according to their expected formats.</DL>
580</DD>
581</DL>
582<HR>
583
584<A NAME="getSpecificationTitle()"><!-- --></A><H3>
585getSpecificationTitle</H3>
586<PRE>
587public java.lang.String <B>getSpecificationTitle</B>()</PRE>
588<DL>
589<DD>Get the title of the specification.
590<P>
591<DD><DL>
592
593<DT><B>Returns:</B><DD>the title of speciication</DL>
594</DD>
595</DL>
596<HR>
597
598<A NAME="getSpecificationVendor()"><!-- --></A><H3>
599getSpecificationVendor</H3>
600<PRE>
601public java.lang.String <B>getSpecificationVendor</B>()</PRE>
602<DL>
603<DD>Get the vendor of the specification.
604<P>
605<DD><DL>
606
607<DT><B>Returns:</B><DD>the vendor of the specification.</DL>
608</DD>
609</DL>
610<HR>
611
612<A NAME="getImplementationTitle()"><!-- --></A><H3>
613getImplementationTitle</H3>
614<PRE>
615public java.lang.String <B>getImplementationTitle</B>()</PRE>
616<DL>
617<DD>Get the title of the specification.
618<P>
619<DD><DL>
620
621<DT><B>Returns:</B><DD>the title of the specification.</DL>
622</DD>
623</DL>
624<HR>
625
626<A NAME="getSpecificationVersion()"><!-- --></A><H3>
627getSpecificationVersion</H3>
628<PRE>
629public <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">DeweyDecimal</A> <B>getSpecificationVersion</B>()</PRE>
630<DL>
631<DD>Get the version of the specification.
632<P>
633<DD><DL>
634
635<DT><B>Returns:</B><DD>the version of the specification.</DL>
636</DD>
637</DL>
638<HR>
639
640<A NAME="getImplementationVendor()"><!-- --></A><H3>
641getImplementationVendor</H3>
642<PRE>
643public java.lang.String <B>getImplementationVendor</B>()</PRE>
644<DL>
645<DD>Get the vendor of the extensions implementation.
646<P>
647<DD><DL>
648
649<DT><B>Returns:</B><DD>the vendor of the extensions implementation.</DL>
650</DD>
651</DL>
652<HR>
653
654<A NAME="getImplementationVersion()"><!-- --></A><H3>
655getImplementationVersion</H3>
656<PRE>
657public java.lang.String <B>getImplementationVersion</B>()</PRE>
658<DL>
659<DD>Get the version of the implementation.
660<P>
661<DD><DL>
662
663<DT><B>Returns:</B><DD>the version of the implementation.</DL>
664</DD>
665</DL>
666<HR>
667
668<A NAME="getSections()"><!-- --></A><H3>
669getSections</H3>
670<PRE>
671public java.lang.String[] <B>getSections</B>()</PRE>
672<DL>
673<DD>Return an array containing sections to which specification applies
674 or null if relevent to no sections.
675<P>
676<DD><DL>
677
678<DT><B>Returns:</B><DD>an array containing sections to which specification applies
679 or null if relevent to no sections.</DL>
680</DD>
681</DL>
682<HR>
683
684<A NAME="getCompatibilityWith(org.apache.tools.ant.taskdefs.optional.extension.Specification)"><!-- --></A><H3>
685getCompatibilityWith</H3>
686<PRE>
687public <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</A> <B>getCompatibilityWith</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</A>&nbsp;other)</PRE>
688<DL>
689<DD>Return a Compatibility enum indicating the relationship of this
690 <code>Package Specification</code> with the specified
691 <code>Extension</code>.
692<P>
693<DD><DL>
694<DT><B>Parameters:</B><DD><CODE>other</CODE> - the other specification
695<DT><B>Returns:</B><DD>the enum indicating the compatibility (or lack thereof)
696 of specifed Package Specification</DL>
697</DD>
698</DL>
699<HR>
700
701<A NAME="isCompatibleWith(org.apache.tools.ant.taskdefs.optional.extension.Specification)"><!-- --></A><H3>
702isCompatibleWith</H3>
703<PRE>
704public boolean <B>isCompatibleWith</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</A>&nbsp;other)</PRE>
705<DL>
706<DD>Return <code>true</code> if the specified <code>package</code>
707 is satisfied by this <code>Specification</code>. Otherwise, return
708 <code>false</code>.
709<P>
710<DD><DL>
711<DT><B>Parameters:</B><DD><CODE>other</CODE> - the specification
712<DT><B>Returns:</B><DD>true if the specification is compatible with this specification</DL>
713</DD>
714</DL>
715<HR>
716
717<A NAME="toString()"><!-- --></A><H3>
718toString</H3>
719<PRE>
720public java.lang.String <B>toString</B>()</PRE>
721<DL>
722<DD>Return a String representation of this object.
723<P>
724<DD><DL>
725
726<DT><B>Returns:</B><DD>string representation of object.</DL>
727</DD>
728</DL>
729<!-- ========= END OF CLASS DATA ========= -->
730<HR>
731
732
733<!-- ======= START OF BOTTOM NAVBAR ====== -->
734<A NAME="navbar_bottom"><!-- --></A>
735<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
736<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
737<TR>
738<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
739<A NAME="navbar_bottom_firstrow"><!-- --></A>
740<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
741 <TR ALIGN="center" VALIGN="top">
742 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
743 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
744 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
745 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
746 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
747 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
748 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
749 </TR>
750</TABLE>
751</TD>
752<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
753</EM>
754</TD>
755</TR>
756
757<TR>
758<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
759&nbsp;<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/LibFileSet.html" title="class in org.apache.tools.ant.taskdefs.optional.extension"><B>PREV CLASS</B></A>&nbsp;
760&nbsp;NEXT CLASS</FONT></TD>
761<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
762 <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
763&nbsp;<A HREF="Specification.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
764&nbsp;<SCRIPT type="text/javascript">
765 <!--
766 if(window==top) {
767 document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
768 }
769 //-->
770</SCRIPT>
771<NOSCRIPT>
772 <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
773</NOSCRIPT>
774
775</FONT></TD>
776</TR>
777<TR>
778<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
779 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
780<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
781DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
782</TR>
783</TABLE>
784<A NAME="skip-navbar_bottom"></A>
785<!-- ======== END OF BOTTOM NAVBAR ======= -->
786
787<HR>
788Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
789</BODY>
790</HTML>
Note: See TracBrowser for help on using the repository browser.