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>
|
---|
7 | Extension (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.extension.Extension 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="Extension (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/optional/extension/DeweyDecimal.html" title="class in org.apache.tools.ant.taskdefs.optional.extension"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.html" title="class in org.apache.tools.ant.taskdefs.optional.extension"><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="Extension.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 | <A HREF="#field_summary">FIELD</A> | <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: <A HREF="#field_detail">FIELD</A> | <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.optional.extension</FONT>
|
---|
85 | <BR>
|
---|
86 | Class Extension</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.extension.Extension</B>
|
---|
90 | </PRE>
|
---|
91 | <HR>
|
---|
92 | <DL>
|
---|
93 | <DT>public final class <B>Extension</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 <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/Extension.html#COMPATIBLE">COMPATIBLE</A></B></CODE>
|
---|
125 |
|
---|
126 | <BR>
|
---|
127 | Enum indicating that extension is compatible with other extension.</TD>
|
---|
128 | </TR>
|
---|
129 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
130 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
131 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
132 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#EXTENSION_LIST">EXTENSION_LIST</A></B></CODE>
|
---|
133 |
|
---|
134 | <BR>
|
---|
135 | Manifest Attribute Name object for EXTENSION_LIST.</TD>
|
---|
136 | </TR>
|
---|
137 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
138 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
139 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
140 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#EXTENSION_NAME">EXTENSION_NAME</A></B></CODE>
|
---|
141 |
|
---|
142 | <BR>
|
---|
143 | Manifest Attribute Name object for EXTENSION_NAME.</TD>
|
---|
144 | </TR>
|
---|
145 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
146 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
147 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
148 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#IMPLEMENTATION_URL">IMPLEMENTATION_URL</A></B></CODE>
|
---|
149 |
|
---|
150 | <BR>
|
---|
151 | Manifest Attribute Name object for IMPLEMENTATION_URL.</TD>
|
---|
152 | </TR>
|
---|
153 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
154 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
155 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
156 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#IMPLEMENTATION_VENDOR">IMPLEMENTATION_VENDOR</A></B></CODE>
|
---|
157 |
|
---|
158 | <BR>
|
---|
159 | Manifest Attribute Name object for IMPLEMENTATION_VENDOR.</TD>
|
---|
160 | </TR>
|
---|
161 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
162 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
163 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
164 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#IMPLEMENTATION_VENDOR_ID">IMPLEMENTATION_VENDOR_ID</A></B></CODE>
|
---|
165 |
|
---|
166 | <BR>
|
---|
167 | Manifest Attribute Name object for IMPLEMENTATION_VENDOR_ID.</TD>
|
---|
168 | </TR>
|
---|
169 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
170 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
171 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
172 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#IMPLEMENTATION_VERSION">IMPLEMENTATION_VERSION</A></B></CODE>
|
---|
173 |
|
---|
174 | <BR>
|
---|
175 | Manifest Attribute Name object for IMPLEMENTATION_VERSION.</TD>
|
---|
176 | </TR>
|
---|
177 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
178 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
179 | <CODE>static <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>
|
---|
180 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#INCOMPATIBLE">INCOMPATIBLE</A></B></CODE>
|
---|
181 |
|
---|
182 | <BR>
|
---|
183 | Enum indicating that extension is incompatible with
|
---|
184 | other extension in ways other than other enums
|
---|
185 | indicate).</TD>
|
---|
186 | </TR>
|
---|
187 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
189 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
190 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#OPTIONAL_EXTENSION_LIST">OPTIONAL_EXTENSION_LIST</A></B></CODE>
|
---|
191 |
|
---|
192 | <BR>
|
---|
193 | <code>Name</code> object for <code>Optional-Extension-List</code>
|
---|
194 | manifest attribute used for declaring optional dependencies on
|
---|
195 | installed extensions.</TD>
|
---|
196 | </TR>
|
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
199 | <CODE>static <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>
|
---|
200 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#REQUIRE_IMPLEMENTATION_UPGRADE">REQUIRE_IMPLEMENTATION_UPGRADE</A></B></CODE>
|
---|
201 |
|
---|
202 | <BR>
|
---|
203 | Enum indicating that extension requires an upgrade
|
---|
204 | of implementation to be compatible with other extension.</TD>
|
---|
205 | </TR>
|
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
208 | <CODE>static <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>
|
---|
209 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#REQUIRE_SPECIFICATION_UPGRADE">REQUIRE_SPECIFICATION_UPGRADE</A></B></CODE>
|
---|
210 |
|
---|
211 | <BR>
|
---|
212 | Enum indicating that extension requires an upgrade
|
---|
213 | of specification to be compatible with other extension.</TD>
|
---|
214 | </TR>
|
---|
215 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
217 | <CODE>static <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>
|
---|
218 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#REQUIRE_VENDOR_SWITCH">REQUIRE_VENDOR_SWITCH</A></B></CODE>
|
---|
219 |
|
---|
220 | <BR>
|
---|
221 | Enum indicating that extension requires a vendor
|
---|
222 | switch to be compatible with other extension.</TD>
|
---|
223 | </TR>
|
---|
224 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
226 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
227 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#SPECIFICATION_VENDOR">SPECIFICATION_VENDOR</A></B></CODE>
|
---|
228 |
|
---|
229 | <BR>
|
---|
230 | Manifest Attribute Name object for SPECIFICATION_VENDOR.</TD>
|
---|
231 | </TR>
|
---|
232 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
234 | <CODE>static java.util.jar.Attributes.Name</CODE></FONT></TD>
|
---|
235 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#SPECIFICATION_VERSION">SPECIFICATION_VERSION</A></B></CODE>
|
---|
236 |
|
---|
237 | <BR>
|
---|
238 | Manifest Attribute Name object for SPECIFICATION_VERSION.</TD>
|
---|
239 | </TR>
|
---|
240 | </TABLE>
|
---|
241 |
|
---|
242 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
243 |
|
---|
244 | <A NAME="constructor_summary"><!-- --></A>
|
---|
245 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
246 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
247 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
248 | <B>Constructor Summary</B></FONT></TD>
|
---|
249 | </TR>
|
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
251 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#Extension(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">Extension</A></B>(java.lang.String extensionName,
|
---|
252 | java.lang.String specificationVersion,
|
---|
253 | java.lang.String specificationVendor,
|
---|
254 | java.lang.String implementationVersion,
|
---|
255 | java.lang.String implementationVendor,
|
---|
256 | java.lang.String implementationVendorId,
|
---|
257 | java.lang.String implementationURL)</CODE>
|
---|
258 |
|
---|
259 | <BR>
|
---|
260 | The constructor to create Extension object.</TD>
|
---|
261 | </TR>
|
---|
262 | </TABLE>
|
---|
263 |
|
---|
264 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
265 |
|
---|
266 | <A NAME="method_summary"><!-- --></A>
|
---|
267 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
268 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
269 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
270 | <B>Method Summary</B></FONT></TD>
|
---|
271 | </TR>
|
---|
272 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
274 | <CODE>static void</CODE></FONT></TD>
|
---|
275 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#addExtension(org.apache.tools.ant.taskdefs.optional.extension.Extension, java.util.jar.Attributes)">addExtension</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A> extension,
|
---|
276 | java.util.jar.Attributes attributes)</CODE>
|
---|
277 |
|
---|
278 | <BR>
|
---|
279 | Add Extension to the specified manifest Attributes.</TD>
|
---|
280 | </TR>
|
---|
281 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
283 | <CODE>static void</CODE></FONT></TD>
|
---|
284 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#addExtension(org.apache.tools.ant.taskdefs.optional.extension.Extension, java.lang.String, java.util.jar.Attributes)">addExtension</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A> extension,
|
---|
285 | java.lang.String prefix,
|
---|
286 | java.util.jar.Attributes attributes)</CODE>
|
---|
287 |
|
---|
288 | <BR>
|
---|
289 | Add Extension to the specified manifest Attributes.</TD>
|
---|
290 | </TR>
|
---|
291 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
293 | <CODE>static <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A>[]</CODE></FONT></TD>
|
---|
294 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getAvailable(java.util.jar.Manifest)">getAvailable</A></B>(java.util.jar.Manifest manifest)</CODE>
|
---|
295 |
|
---|
296 | <BR>
|
---|
297 | Return an array of <code>Extension</code> objects representing optional
|
---|
298 | packages that are available in the JAR file associated with the
|
---|
299 | specified <code>Manifest</code>.</TD>
|
---|
300 | </TR>
|
---|
301 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
302 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
303 | <CODE> <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>
|
---|
304 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getCompatibilityWith(org.apache.tools.ant.taskdefs.optional.extension.Extension)">getCompatibilityWith</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A> required)</CODE>
|
---|
305 |
|
---|
306 | <BR>
|
---|
307 | Return a Compatibility enum indicating the relationship of this
|
---|
308 | <code>Extension</code> with the specified <code>Extension</code>.</TD>
|
---|
309 | </TR>
|
---|
310 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
311 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
312 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
313 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getExtensionName()">getExtensionName</A></B>()</CODE>
|
---|
314 |
|
---|
315 | <BR>
|
---|
316 | Get the name of the extension.</TD>
|
---|
317 | </TR>
|
---|
318 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
319 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
320 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
321 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getImplementationURL()">getImplementationURL</A></B>()</CODE>
|
---|
322 |
|
---|
323 | <BR>
|
---|
324 | Get the url of the extensions implementation.</TD>
|
---|
325 | </TR>
|
---|
326 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
327 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
328 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
329 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getImplementationVendor()">getImplementationVendor</A></B>()</CODE>
|
---|
330 |
|
---|
331 | <BR>
|
---|
332 | Get the vendor of the extensions implementation.</TD>
|
---|
333 | </TR>
|
---|
334 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
335 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
336 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
337 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getImplementationVendorID()">getImplementationVendorID</A></B>()</CODE>
|
---|
338 |
|
---|
339 | <BR>
|
---|
340 | Get the vendorID of the extensions implementation.</TD>
|
---|
341 | </TR>
|
---|
342 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
343 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
344 | <CODE> <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>
|
---|
345 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getImplementationVersion()">getImplementationVersion</A></B>()</CODE>
|
---|
346 |
|
---|
347 | <BR>
|
---|
348 | Get the version of the extensions implementation.</TD>
|
---|
349 | </TR>
|
---|
350 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
351 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
352 | <CODE>static <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A>[]</CODE></FONT></TD>
|
---|
353 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getOptions(java.util.jar.Manifest)">getOptions</A></B>(java.util.jar.Manifest manifest)</CODE>
|
---|
354 |
|
---|
355 | <BR>
|
---|
356 | Return the set of <code>Extension</code> objects representing "Optional
|
---|
357 | Packages" that the application declares they will use if present.</TD>
|
---|
358 | </TR>
|
---|
359 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
360 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
361 | <CODE>static <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A>[]</CODE></FONT></TD>
|
---|
362 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getRequired(java.util.jar.Manifest)">getRequired</A></B>(java.util.jar.Manifest manifest)</CODE>
|
---|
363 |
|
---|
364 | <BR>
|
---|
365 | Return the set of <code>Extension</code> objects representing optional
|
---|
366 | packages that are required by the application contained in the JAR
|
---|
367 | file associated with the specified <code>Manifest</code>.</TD>
|
---|
368 | </TR>
|
---|
369 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
370 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
371 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
372 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getSpecificationVendor()">getSpecificationVendor</A></B>()</CODE>
|
---|
373 |
|
---|
374 | <BR>
|
---|
375 | Get the vendor of the extensions specification.</TD>
|
---|
376 | </TR>
|
---|
377 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
378 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
379 | <CODE> <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>
|
---|
380 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#getSpecificationVersion()">getSpecificationVersion</A></B>()</CODE>
|
---|
381 |
|
---|
382 | <BR>
|
---|
383 | Get the version of the extensions specification.</TD>
|
---|
384 | </TR>
|
---|
385 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
386 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
387 | <CODE> boolean</CODE></FONT></TD>
|
---|
388 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#isCompatibleWith(org.apache.tools.ant.taskdefs.optional.extension.Extension)">isCompatibleWith</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A> required)</CODE>
|
---|
389 |
|
---|
390 | <BR>
|
---|
391 | Return <code>true</code> if the specified <code>Extension</code>
|
---|
392 | (which represents an optional package required by an application)
|
---|
393 | is satisfied by this <code>Extension</code> (which represents an
|
---|
394 | optional package that is already installed.</TD>
|
---|
395 | </TR>
|
---|
396 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
397 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
398 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
399 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html#toString()">toString</A></B>()</CODE>
|
---|
400 |
|
---|
401 | <BR>
|
---|
402 | Return a String representation of this object.</TD>
|
---|
403 | </TR>
|
---|
404 | </TABLE>
|
---|
405 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
406 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
407 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
408 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
409 | </TR>
|
---|
410 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
411 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
---|
412 | </TR>
|
---|
413 | </TABLE>
|
---|
414 |
|
---|
415 | <P>
|
---|
416 |
|
---|
417 | <!-- ============ FIELD DETAIL =========== -->
|
---|
418 |
|
---|
419 | <A NAME="field_detail"><!-- --></A>
|
---|
420 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
421 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
422 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
423 | <B>Field Detail</B></FONT></TD>
|
---|
424 | </TR>
|
---|
425 | </TABLE>
|
---|
426 |
|
---|
427 | <A NAME="EXTENSION_LIST"><!-- --></A><H3>
|
---|
428 | EXTENSION_LIST</H3>
|
---|
429 | <PRE>
|
---|
430 | public static final java.util.jar.Attributes.Name <B>EXTENSION_LIST</B></PRE>
|
---|
431 | <DL>
|
---|
432 | <DD>Manifest Attribute Name object for EXTENSION_LIST.
|
---|
433 | <P>
|
---|
434 | <DL>
|
---|
435 | </DL>
|
---|
436 | </DL>
|
---|
437 | <HR>
|
---|
438 |
|
---|
439 | <A NAME="OPTIONAL_EXTENSION_LIST"><!-- --></A><H3>
|
---|
440 | OPTIONAL_EXTENSION_LIST</H3>
|
---|
441 | <PRE>
|
---|
442 | public static final java.util.jar.Attributes.Name <B>OPTIONAL_EXTENSION_LIST</B></PRE>
|
---|
443 | <DL>
|
---|
444 | <DD><code>Name</code> object for <code>Optional-Extension-List</code>
|
---|
445 | manifest attribute used for declaring optional dependencies on
|
---|
446 | installed extensions. Note that the dependencies declared by this method
|
---|
447 | are not required for the library to operate but if present will be used.
|
---|
448 | It is NOT part of the official "Optional Package" specification.
|
---|
449 | <P>
|
---|
450 | <DL>
|
---|
451 | <DT><B>See Also:</B><DD><a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/spec.html#dependnecy">
|
---|
452 | Installed extension dependency</a></DL>
|
---|
453 | </DL>
|
---|
454 | <HR>
|
---|
455 |
|
---|
456 | <A NAME="EXTENSION_NAME"><!-- --></A><H3>
|
---|
457 | EXTENSION_NAME</H3>
|
---|
458 | <PRE>
|
---|
459 | public static final java.util.jar.Attributes.Name <B>EXTENSION_NAME</B></PRE>
|
---|
460 | <DL>
|
---|
461 | <DD>Manifest Attribute Name object for EXTENSION_NAME.
|
---|
462 | <P>
|
---|
463 | <DL>
|
---|
464 | </DL>
|
---|
465 | </DL>
|
---|
466 | <HR>
|
---|
467 |
|
---|
468 | <A NAME="SPECIFICATION_VERSION"><!-- --></A><H3>
|
---|
469 | SPECIFICATION_VERSION</H3>
|
---|
470 | <PRE>
|
---|
471 | public static final java.util.jar.Attributes.Name <B>SPECIFICATION_VERSION</B></PRE>
|
---|
472 | <DL>
|
---|
473 | <DD>Manifest Attribute Name object for SPECIFICATION_VERSION.
|
---|
474 | <P>
|
---|
475 | <DL>
|
---|
476 | </DL>
|
---|
477 | </DL>
|
---|
478 | <HR>
|
---|
479 |
|
---|
480 | <A NAME="SPECIFICATION_VENDOR"><!-- --></A><H3>
|
---|
481 | SPECIFICATION_VENDOR</H3>
|
---|
482 | <PRE>
|
---|
483 | public static final java.util.jar.Attributes.Name <B>SPECIFICATION_VENDOR</B></PRE>
|
---|
484 | <DL>
|
---|
485 | <DD>Manifest Attribute Name object for SPECIFICATION_VENDOR.
|
---|
486 | <P>
|
---|
487 | <DL>
|
---|
488 | </DL>
|
---|
489 | </DL>
|
---|
490 | <HR>
|
---|
491 |
|
---|
492 | <A NAME="IMPLEMENTATION_VERSION"><!-- --></A><H3>
|
---|
493 | IMPLEMENTATION_VERSION</H3>
|
---|
494 | <PRE>
|
---|
495 | public static final java.util.jar.Attributes.Name <B>IMPLEMENTATION_VERSION</B></PRE>
|
---|
496 | <DL>
|
---|
497 | <DD>Manifest Attribute Name object for IMPLEMENTATION_VERSION.
|
---|
498 | <P>
|
---|
499 | <DL>
|
---|
500 | </DL>
|
---|
501 | </DL>
|
---|
502 | <HR>
|
---|
503 |
|
---|
504 | <A NAME="IMPLEMENTATION_VENDOR"><!-- --></A><H3>
|
---|
505 | IMPLEMENTATION_VENDOR</H3>
|
---|
506 | <PRE>
|
---|
507 | public static final java.util.jar.Attributes.Name <B>IMPLEMENTATION_VENDOR</B></PRE>
|
---|
508 | <DL>
|
---|
509 | <DD>Manifest Attribute Name object for IMPLEMENTATION_VENDOR.
|
---|
510 | <P>
|
---|
511 | <DL>
|
---|
512 | </DL>
|
---|
513 | </DL>
|
---|
514 | <HR>
|
---|
515 |
|
---|
516 | <A NAME="IMPLEMENTATION_URL"><!-- --></A><H3>
|
---|
517 | IMPLEMENTATION_URL</H3>
|
---|
518 | <PRE>
|
---|
519 | public static final java.util.jar.Attributes.Name <B>IMPLEMENTATION_URL</B></PRE>
|
---|
520 | <DL>
|
---|
521 | <DD>Manifest Attribute Name object for IMPLEMENTATION_URL.
|
---|
522 | <P>
|
---|
523 | <DL>
|
---|
524 | </DL>
|
---|
525 | </DL>
|
---|
526 | <HR>
|
---|
527 |
|
---|
528 | <A NAME="IMPLEMENTATION_VENDOR_ID"><!-- --></A><H3>
|
---|
529 | IMPLEMENTATION_VENDOR_ID</H3>
|
---|
530 | <PRE>
|
---|
531 | public static final java.util.jar.Attributes.Name <B>IMPLEMENTATION_VENDOR_ID</B></PRE>
|
---|
532 | <DL>
|
---|
533 | <DD>Manifest Attribute Name object for IMPLEMENTATION_VENDOR_ID.
|
---|
534 | <P>
|
---|
535 | <DL>
|
---|
536 | </DL>
|
---|
537 | </DL>
|
---|
538 | <HR>
|
---|
539 |
|
---|
540 | <A NAME="COMPATIBLE"><!-- --></A><H3>
|
---|
541 | COMPATIBLE</H3>
|
---|
542 | <PRE>
|
---|
543 | public 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>
|
---|
544 | <DL>
|
---|
545 | <DD>Enum indicating that extension is compatible with other extension.
|
---|
546 | <P>
|
---|
547 | <DL>
|
---|
548 | </DL>
|
---|
549 | </DL>
|
---|
550 | <HR>
|
---|
551 |
|
---|
552 | <A NAME="REQUIRE_SPECIFICATION_UPGRADE"><!-- --></A><H3>
|
---|
553 | REQUIRE_SPECIFICATION_UPGRADE</H3>
|
---|
554 | <PRE>
|
---|
555 | public 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>
|
---|
556 | <DL>
|
---|
557 | <DD>Enum indicating that extension requires an upgrade
|
---|
558 | of specification to be compatible with other extension.
|
---|
559 | <P>
|
---|
560 | <DL>
|
---|
561 | </DL>
|
---|
562 | </DL>
|
---|
563 | <HR>
|
---|
564 |
|
---|
565 | <A NAME="REQUIRE_VENDOR_SWITCH"><!-- --></A><H3>
|
---|
566 | REQUIRE_VENDOR_SWITCH</H3>
|
---|
567 | <PRE>
|
---|
568 | public 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>
|
---|
569 | <DL>
|
---|
570 | <DD>Enum indicating that extension requires a vendor
|
---|
571 | switch to be compatible with other extension.
|
---|
572 | <P>
|
---|
573 | <DL>
|
---|
574 | </DL>
|
---|
575 | </DL>
|
---|
576 | <HR>
|
---|
577 |
|
---|
578 | <A NAME="REQUIRE_IMPLEMENTATION_UPGRADE"><!-- --></A><H3>
|
---|
579 | REQUIRE_IMPLEMENTATION_UPGRADE</H3>
|
---|
580 | <PRE>
|
---|
581 | public 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_UPGRADE</B></PRE>
|
---|
582 | <DL>
|
---|
583 | <DD>Enum indicating that extension requires an upgrade
|
---|
584 | of implementation to be compatible with other extension.
|
---|
585 | <P>
|
---|
586 | <DL>
|
---|
587 | </DL>
|
---|
588 | </DL>
|
---|
589 | <HR>
|
---|
590 |
|
---|
591 | <A NAME="INCOMPATIBLE"><!-- --></A><H3>
|
---|
592 | INCOMPATIBLE</H3>
|
---|
593 | <PRE>
|
---|
594 | public 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>
|
---|
595 | <DL>
|
---|
596 | <DD>Enum indicating that extension is incompatible with
|
---|
597 | other extension in ways other than other enums
|
---|
598 | indicate). For example the other extension may have
|
---|
599 | a different ID.
|
---|
600 | <P>
|
---|
601 | <DL>
|
---|
602 | </DL>
|
---|
603 | </DL>
|
---|
604 |
|
---|
605 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
606 |
|
---|
607 | <A NAME="constructor_detail"><!-- --></A>
|
---|
608 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
609 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
610 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
611 | <B>Constructor Detail</B></FONT></TD>
|
---|
612 | </TR>
|
---|
613 | </TABLE>
|
---|
614 |
|
---|
615 | <A NAME="Extension(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
---|
616 | Extension</H3>
|
---|
617 | <PRE>
|
---|
618 | public <B>Extension</B>(java.lang.String extensionName,
|
---|
619 | java.lang.String specificationVersion,
|
---|
620 | java.lang.String specificationVendor,
|
---|
621 | java.lang.String implementationVersion,
|
---|
622 | java.lang.String implementationVendor,
|
---|
623 | java.lang.String implementationVendorId,
|
---|
624 | java.lang.String implementationURL)</PRE>
|
---|
625 | <DL>
|
---|
626 | <DD>The constructor to create Extension object.
|
---|
627 | Note that every component is allowed to be specified
|
---|
628 | but only the extensionName is mandatory.
|
---|
629 | <P>
|
---|
630 | <DT><B>Parameters:</B><DD><CODE>extensionName</CODE> - the name of extension.<DD><CODE>specificationVersion</CODE> - the specification Version of extension.<DD><CODE>specificationVendor</CODE> - the specification Vendor of extension.<DD><CODE>implementationVersion</CODE> - the implementation Version of extension.<DD><CODE>implementationVendor</CODE> - the implementation Vendor of extension.<DD><CODE>implementationVendorId</CODE> - the implementation VendorId of extension.<DD><CODE>implementationURL</CODE> - the implementation URL of extension.</DL>
|
---|
631 |
|
---|
632 | <!-- ============ METHOD DETAIL ========== -->
|
---|
633 |
|
---|
634 | <A NAME="method_detail"><!-- --></A>
|
---|
635 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
636 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
637 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
638 | <B>Method Detail</B></FONT></TD>
|
---|
639 | </TR>
|
---|
640 | </TABLE>
|
---|
641 |
|
---|
642 | <A NAME="getAvailable(java.util.jar.Manifest)"><!-- --></A><H3>
|
---|
643 | getAvailable</H3>
|
---|
644 | <PRE>
|
---|
645 | public static <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A>[] <B>getAvailable</B>(java.util.jar.Manifest manifest)</PRE>
|
---|
646 | <DL>
|
---|
647 | <DD>Return an array of <code>Extension</code> objects representing optional
|
---|
648 | packages that are available in the JAR file associated with the
|
---|
649 | specified <code>Manifest</code>. If there are no such optional
|
---|
650 | packages, a zero-length array is returned.
|
---|
651 | <P>
|
---|
652 | <DD><DL>
|
---|
653 | <DT><B>Parameters:</B><DD><CODE>manifest</CODE> - Manifest to be parsed
|
---|
654 | <DT><B>Returns:</B><DD>the "available" extensions in specified manifest</DL>
|
---|
655 | </DD>
|
---|
656 | </DL>
|
---|
657 | <HR>
|
---|
658 |
|
---|
659 | <A NAME="getRequired(java.util.jar.Manifest)"><!-- --></A><H3>
|
---|
660 | getRequired</H3>
|
---|
661 | <PRE>
|
---|
662 | public static <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A>[] <B>getRequired</B>(java.util.jar.Manifest manifest)</PRE>
|
---|
663 | <DL>
|
---|
664 | <DD>Return the set of <code>Extension</code> objects representing optional
|
---|
665 | packages that are required by the application contained in the JAR
|
---|
666 | file associated with the specified <code>Manifest</code>. If there
|
---|
667 | are no such optional packages, a zero-length list is returned.
|
---|
668 | <P>
|
---|
669 | <DD><DL>
|
---|
670 | <DT><B>Parameters:</B><DD><CODE>manifest</CODE> - Manifest to be parsed
|
---|
671 | <DT><B>Returns:</B><DD>the dependencies that are specified in manifes</DL>
|
---|
672 | </DD>
|
---|
673 | </DL>
|
---|
674 | <HR>
|
---|
675 |
|
---|
676 | <A NAME="getOptions(java.util.jar.Manifest)"><!-- --></A><H3>
|
---|
677 | getOptions</H3>
|
---|
678 | <PRE>
|
---|
679 | public static <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A>[] <B>getOptions</B>(java.util.jar.Manifest manifest)</PRE>
|
---|
680 | <DL>
|
---|
681 | <DD>Return the set of <code>Extension</code> objects representing "Optional
|
---|
682 | Packages" that the application declares they will use if present. If
|
---|
683 | there are no such optional packages, a zero-length list is returned.
|
---|
684 | <P>
|
---|
685 | <DD><DL>
|
---|
686 | <DT><B>Parameters:</B><DD><CODE>manifest</CODE> - Manifest to be parsed
|
---|
687 | <DT><B>Returns:</B><DD>the optional dependencies that are specified in manifest</DL>
|
---|
688 | </DD>
|
---|
689 | </DL>
|
---|
690 | <HR>
|
---|
691 |
|
---|
692 | <A NAME="addExtension(org.apache.tools.ant.taskdefs.optional.extension.Extension, java.util.jar.Attributes)"><!-- --></A><H3>
|
---|
693 | addExtension</H3>
|
---|
694 | <PRE>
|
---|
695 | public static void <B>addExtension</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A> extension,
|
---|
696 | java.util.jar.Attributes attributes)</PRE>
|
---|
697 | <DL>
|
---|
698 | <DD>Add Extension to the specified manifest Attributes.
|
---|
699 | <P>
|
---|
700 | <DD><DL>
|
---|
701 | <DT><B>Parameters:</B><DD><CODE>attributes</CODE> - the attributes of manifest to add to<DD><CODE>extension</CODE> - the extension</DL>
|
---|
702 | </DD>
|
---|
703 | </DL>
|
---|
704 | <HR>
|
---|
705 |
|
---|
706 | <A NAME="addExtension(org.apache.tools.ant.taskdefs.optional.extension.Extension, java.lang.String, java.util.jar.Attributes)"><!-- --></A><H3>
|
---|
707 | addExtension</H3>
|
---|
708 | <PRE>
|
---|
709 | public static void <B>addExtension</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A> extension,
|
---|
710 | java.lang.String prefix,
|
---|
711 | java.util.jar.Attributes attributes)</PRE>
|
---|
712 | <DL>
|
---|
713 | <DD>Add Extension to the specified manifest Attributes.
|
---|
714 | Use the specified prefix so that dependencies can added
|
---|
715 | with a prefix such as "java3d-" etc.
|
---|
716 | <P>
|
---|
717 | <DD><DL>
|
---|
718 | <DT><B>Parameters:</B><DD><CODE>attributes</CODE> - the attributes of manifest to add to<DD><CODE>extension</CODE> - the extension<DD><CODE>prefix</CODE> - the name to prefix to extension</DL>
|
---|
719 | </DD>
|
---|
720 | </DL>
|
---|
721 | <HR>
|
---|
722 |
|
---|
723 | <A NAME="getExtensionName()"><!-- --></A><H3>
|
---|
724 | getExtensionName</H3>
|
---|
725 | <PRE>
|
---|
726 | public java.lang.String <B>getExtensionName</B>()</PRE>
|
---|
727 | <DL>
|
---|
728 | <DD>Get the name of the extension.
|
---|
729 | <P>
|
---|
730 | <DD><DL>
|
---|
731 |
|
---|
732 | <DT><B>Returns:</B><DD>the name of the extension</DL>
|
---|
733 | </DD>
|
---|
734 | </DL>
|
---|
735 | <HR>
|
---|
736 |
|
---|
737 | <A NAME="getSpecificationVendor()"><!-- --></A><H3>
|
---|
738 | getSpecificationVendor</H3>
|
---|
739 | <PRE>
|
---|
740 | public java.lang.String <B>getSpecificationVendor</B>()</PRE>
|
---|
741 | <DL>
|
---|
742 | <DD>Get the vendor of the extensions specification.
|
---|
743 | <P>
|
---|
744 | <DD><DL>
|
---|
745 |
|
---|
746 | <DT><B>Returns:</B><DD>the vendor of the extensions specification.</DL>
|
---|
747 | </DD>
|
---|
748 | </DL>
|
---|
749 | <HR>
|
---|
750 |
|
---|
751 | <A NAME="getSpecificationVersion()"><!-- --></A><H3>
|
---|
752 | getSpecificationVersion</H3>
|
---|
753 | <PRE>
|
---|
754 | public <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>
|
---|
755 | <DL>
|
---|
756 | <DD>Get the version of the extensions specification.
|
---|
757 | <P>
|
---|
758 | <DD><DL>
|
---|
759 |
|
---|
760 | <DT><B>Returns:</B><DD>the version of the extensions specification.</DL>
|
---|
761 | </DD>
|
---|
762 | </DL>
|
---|
763 | <HR>
|
---|
764 |
|
---|
765 | <A NAME="getImplementationURL()"><!-- --></A><H3>
|
---|
766 | getImplementationURL</H3>
|
---|
767 | <PRE>
|
---|
768 | public java.lang.String <B>getImplementationURL</B>()</PRE>
|
---|
769 | <DL>
|
---|
770 | <DD>Get the url of the extensions implementation.
|
---|
771 | <P>
|
---|
772 | <DD><DL>
|
---|
773 |
|
---|
774 | <DT><B>Returns:</B><DD>the url of the extensions implementation.</DL>
|
---|
775 | </DD>
|
---|
776 | </DL>
|
---|
777 | <HR>
|
---|
778 |
|
---|
779 | <A NAME="getImplementationVendor()"><!-- --></A><H3>
|
---|
780 | getImplementationVendor</H3>
|
---|
781 | <PRE>
|
---|
782 | public java.lang.String <B>getImplementationVendor</B>()</PRE>
|
---|
783 | <DL>
|
---|
784 | <DD>Get the vendor of the extensions implementation.
|
---|
785 | <P>
|
---|
786 | <DD><DL>
|
---|
787 |
|
---|
788 | <DT><B>Returns:</B><DD>the vendor of the extensions implementation.</DL>
|
---|
789 | </DD>
|
---|
790 | </DL>
|
---|
791 | <HR>
|
---|
792 |
|
---|
793 | <A NAME="getImplementationVendorID()"><!-- --></A><H3>
|
---|
794 | getImplementationVendorID</H3>
|
---|
795 | <PRE>
|
---|
796 | public java.lang.String <B>getImplementationVendorID</B>()</PRE>
|
---|
797 | <DL>
|
---|
798 | <DD>Get the vendorID of the extensions implementation.
|
---|
799 | <P>
|
---|
800 | <DD><DL>
|
---|
801 |
|
---|
802 | <DT><B>Returns:</B><DD>the vendorID of the extensions implementation.</DL>
|
---|
803 | </DD>
|
---|
804 | </DL>
|
---|
805 | <HR>
|
---|
806 |
|
---|
807 | <A NAME="getImplementationVersion()"><!-- --></A><H3>
|
---|
808 | getImplementationVersion</H3>
|
---|
809 | <PRE>
|
---|
810 | public <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">DeweyDecimal</A> <B>getImplementationVersion</B>()</PRE>
|
---|
811 | <DL>
|
---|
812 | <DD>Get the version of the extensions implementation.
|
---|
813 | <P>
|
---|
814 | <DD><DL>
|
---|
815 |
|
---|
816 | <DT><B>Returns:</B><DD>the version of the extensions implementation.</DL>
|
---|
817 | </DD>
|
---|
818 | </DL>
|
---|
819 | <HR>
|
---|
820 |
|
---|
821 | <A NAME="getCompatibilityWith(org.apache.tools.ant.taskdefs.optional.extension.Extension)"><!-- --></A><H3>
|
---|
822 | getCompatibilityWith</H3>
|
---|
823 | <PRE>
|
---|
824 | public <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/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A> required)</PRE>
|
---|
825 | <DL>
|
---|
826 | <DD>Return a Compatibility enum indicating the relationship of this
|
---|
827 | <code>Extension</code> with the specified <code>Extension</code>.
|
---|
828 | <P>
|
---|
829 | <DD><DL>
|
---|
830 | <DT><B>Parameters:</B><DD><CODE>required</CODE> - Description of the required optional package
|
---|
831 | <DT><B>Returns:</B><DD>the enum indicating the compatibility (or lack thereof)
|
---|
832 | of specifed extension</DL>
|
---|
833 | </DD>
|
---|
834 | </DL>
|
---|
835 | <HR>
|
---|
836 |
|
---|
837 | <A NAME="isCompatibleWith(org.apache.tools.ant.taskdefs.optional.extension.Extension)"><!-- --></A><H3>
|
---|
838 | isCompatibleWith</H3>
|
---|
839 | <PRE>
|
---|
840 | public boolean <B>isCompatibleWith</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Extension.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Extension</A> required)</PRE>
|
---|
841 | <DL>
|
---|
842 | <DD>Return <code>true</code> if the specified <code>Extension</code>
|
---|
843 | (which represents an optional package required by an application)
|
---|
844 | is satisfied by this <code>Extension</code> (which represents an
|
---|
845 | optional package that is already installed. Otherwise, return
|
---|
846 | <code>false</code>.
|
---|
847 | <P>
|
---|
848 | <DD><DL>
|
---|
849 | <DT><B>Parameters:</B><DD><CODE>required</CODE> - Description of the required optional package
|
---|
850 | <DT><B>Returns:</B><DD>true if the specified extension is compatible with this extension</DL>
|
---|
851 | </DD>
|
---|
852 | </DL>
|
---|
853 | <HR>
|
---|
854 |
|
---|
855 | <A NAME="toString()"><!-- --></A><H3>
|
---|
856 | toString</H3>
|
---|
857 | <PRE>
|
---|
858 | public java.lang.String <B>toString</B>()</PRE>
|
---|
859 | <DL>
|
---|
860 | <DD>Return a String representation of this object.
|
---|
861 | <P>
|
---|
862 | <DD><DL>
|
---|
863 |
|
---|
864 | <DT><B>Returns:</B><DD>string representation of object.</DL>
|
---|
865 | </DD>
|
---|
866 | </DL>
|
---|
867 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
868 | <HR>
|
---|
869 |
|
---|
870 |
|
---|
871 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
872 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
873 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
874 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
875 | <TR>
|
---|
876 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
877 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
878 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
879 | <TR ALIGN="center" VALIGN="top">
|
---|
880 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
881 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
882 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
883 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
884 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
885 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
886 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
887 | </TR>
|
---|
888 | </TABLE>
|
---|
889 | </TD>
|
---|
890 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
891 | </EM>
|
---|
892 | </TD>
|
---|
893 | </TR>
|
---|
894 |
|
---|
895 | <TR>
|
---|
896 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
897 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.html" title="class in org.apache.tools.ant.taskdefs.optional.extension"><B>PREV CLASS</B></A>
|
---|
898 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.html" title="class in org.apache.tools.ant.taskdefs.optional.extension"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
899 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
900 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
901 | <A HREF="Extension.html" target="_top"><B>NO FRAMES</B></A>
|
---|
902 | <SCRIPT type="text/javascript">
|
---|
903 | <!--
|
---|
904 | if(window==top) {
|
---|
905 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
906 | }
|
---|
907 | //-->
|
---|
908 | </SCRIPT>
|
---|
909 | <NOSCRIPT>
|
---|
910 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
911 | </NOSCRIPT>
|
---|
912 |
|
---|
913 | </FONT></TD>
|
---|
914 | </TR>
|
---|
915 | <TR>
|
---|
916 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
917 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
918 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
919 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
920 | </TR>
|
---|
921 | </TABLE>
|
---|
922 | <A NAME="skip-navbar_bottom"></A>
|
---|
923 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
924 |
|
---|
925 | <HR>
|
---|
926 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
927 | </BODY>
|
---|
928 | </HTML>
|
---|