????
| Current Path : /opt/ant/manual/api/org/apache/tools/ant/taskdefs/optional/extension/ |
| Current File : //opt/ant/manual/api/org/apache/tools/ant/taskdefs/optional/extension/Specification.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue May 22 06:24:53 CEST 2012 -->
<title>Specification (Apache Ant API)</title>
<meta name="date" content="2012-05-22">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Specification (Apache Ant API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/LibFileSet.html" title="class in org.apache.tools.ant.taskdefs.optional.extension"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/tools/ant/taskdefs/optional/extension/Specification.html" target="_top">Frames</a></li>
<li><a href="Specification.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.tools.ant.taskdefs.optional.extension</div>
<h2 title="Class Specification" class="title">Class Specification</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.tools.ant.taskdefs.optional.extension.Specification</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="strong">Specification</span>
extends java.lang.Object</pre>
<div class="block"><p>Utility class that represents either an available "Optional Package"
(formerly known as "Standard Extension") as described in the manifest
of a JAR file, or the requirement for such an optional package.</p>
<p>For more information about optional packages, see the document
<em>Optional Package Versioning</em> in the documentation bundle for your
Java2 Standard Edition package, in file
<code>guide/extensions/versioning.html</code>.</p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#COMPATIBLE">COMPATIBLE</a></strong></code>
<div class="block">Enum indicating that extension is compatible with other Package
Specification.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.jar.Attributes.Name</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#IMPLEMENTATION_TITLE">IMPLEMENTATION_TITLE</a></strong></code>
<div class="block">Manifest Attribute Name object for IMPLEMENTATION_TITLE.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.jar.Attributes.Name</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#IMPLEMENTATION_VENDOR">IMPLEMENTATION_VENDOR</a></strong></code>
<div class="block">Manifest Attribute Name object for IMPLEMENTATION_VENDOR.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.jar.Attributes.Name</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#IMPLEMENTATION_VERSION">IMPLEMENTATION_VERSION</a></strong></code>
<div class="block">Manifest Attribute Name object for IMPLEMENTATION_VERSION.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#INCOMPATIBLE">INCOMPATIBLE</a></strong></code>
<div class="block">This enum indicates that an extension is incompatible with
other Package Specification in ways other than other enums
indicate.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#REQUIRE_IMPLEMENTATION_CHANGE">REQUIRE_IMPLEMENTATION_CHANGE</a></strong></code>
<div class="block">Enum indicating that extension requires an upgrade
of implementation to be compatible with other Package Specification.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#REQUIRE_SPECIFICATION_UPGRADE">REQUIRE_SPECIFICATION_UPGRADE</a></strong></code>
<div class="block">Enum indicating that extension requires an upgrade
of specification to be compatible with other Package Specification.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#REQUIRE_VENDOR_SWITCH">REQUIRE_VENDOR_SWITCH</a></strong></code>
<div class="block">Enum indicating that extension requires a vendor
switch to be compatible with other Package Specification.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.jar.Attributes.Name</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#SPECIFICATION_TITLE">SPECIFICATION_TITLE</a></strong></code>
<div class="block">Manifest Attribute Name object for SPECIFICATION_TITLE.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.jar.Attributes.Name</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#SPECIFICATION_VENDOR">SPECIFICATION_VENDOR</a></strong></code>
<div class="block">Manifest Attribute Name object for SPECIFICATION_VENDOR.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.jar.Attributes.Name</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#SPECIFICATION_VERSION">SPECIFICATION_VERSION</a></strong></code>
<div class="block">Manifest Attribute Name object for SPECIFICATION_VERSION.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><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></strong>(java.lang.String specificationTitle,
java.lang.String specificationVersion,
java.lang.String specificationVendor,
java.lang.String implementationTitle,
java.lang.String implementationVersion,
java.lang.String implementationVendor)</code>
<div class="block">The constructor to create Package Specification object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><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></strong>(java.lang.String specificationTitle,
java.lang.String specificationVersion,
java.lang.String specificationVendor,
java.lang.String implementationTitle,
java.lang.String implementationVersion,
java.lang.String implementationVendor,
java.lang.String[] sections)</code>
<div class="block">The constructor to create Package Specification object.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getCompatibilityWith(org.apache.tools.ant.taskdefs.optional.extension.Specification)">getCompatibilityWith</a></strong>(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</a> other)</code>
<div class="block">Return a Compatibility enum indicating the relationship of this
<code>Package Specification</code> with the specified
<code>Extension</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getImplementationTitle()">getImplementationTitle</a></strong>()</code>
<div class="block">Get the title of the specification.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getImplementationVendor()">getImplementationVendor</a></strong>()</code>
<div class="block">Get the vendor of the extensions implementation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getImplementationVersion()">getImplementationVersion</a></strong>()</code>
<div class="block">Get the version of the implementation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSections()">getSections</a></strong>()</code>
<div class="block">Return an array containing sections to which specification applies
or null if relevent to no sections.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSpecifications(java.util.jar.Manifest)">getSpecifications</a></strong>(java.util.jar.Manifest manifest)</code>
<div class="block">Return an array of <code>Package Specification</code> objects.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSpecificationTitle()">getSpecificationTitle</a></strong>()</code>
<div class="block">Get the title of the specification.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSpecificationVendor()">getSpecificationVendor</a></strong>()</code>
<div class="block">Get the vendor of the specification.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/tools/ant/util/DeweyDecimal.html" title="class in org.apache.tools.ant.util">DeweyDecimal</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#getSpecificationVersion()">getSpecificationVersion</a></strong>()</code>
<div class="block">Get the version of the specification.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#isCompatibleWith(org.apache.tools.ant.taskdefs.optional.extension.Specification)">isCompatibleWith</a></strong>(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</a> other)</code>
<div class="block">Return <code>true</code> if the specified <code>package</code>
is satisfied by this <code>Specification</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html#toString()">toString</a></strong>()</code>
<div class="block">Return a String representation of this object.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="SPECIFICATION_TITLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPECIFICATION_TITLE</h4>
<pre>public static final java.util.jar.Attributes.Name SPECIFICATION_TITLE</pre>
<div class="block">Manifest Attribute Name object for SPECIFICATION_TITLE.</div>
</li>
</ul>
<a name="SPECIFICATION_VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPECIFICATION_VERSION</h4>
<pre>public static final java.util.jar.Attributes.Name SPECIFICATION_VERSION</pre>
<div class="block">Manifest Attribute Name object for SPECIFICATION_VERSION.</div>
</li>
</ul>
<a name="SPECIFICATION_VENDOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPECIFICATION_VENDOR</h4>
<pre>public static final java.util.jar.Attributes.Name SPECIFICATION_VENDOR</pre>
<div class="block">Manifest Attribute Name object for SPECIFICATION_VENDOR.</div>
</li>
</ul>
<a name="IMPLEMENTATION_TITLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IMPLEMENTATION_TITLE</h4>
<pre>public static final java.util.jar.Attributes.Name IMPLEMENTATION_TITLE</pre>
<div class="block">Manifest Attribute Name object for IMPLEMENTATION_TITLE.</div>
</li>
</ul>
<a name="IMPLEMENTATION_VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IMPLEMENTATION_VERSION</h4>
<pre>public static final java.util.jar.Attributes.Name IMPLEMENTATION_VERSION</pre>
<div class="block">Manifest Attribute Name object for IMPLEMENTATION_VERSION.</div>
</li>
</ul>
<a name="IMPLEMENTATION_VENDOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IMPLEMENTATION_VENDOR</h4>
<pre>public static final java.util.jar.Attributes.Name IMPLEMENTATION_VENDOR</pre>
<div class="block">Manifest Attribute Name object for IMPLEMENTATION_VENDOR.</div>
</li>
</ul>
<a name="COMPATIBLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COMPATIBLE</h4>
<pre>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> COMPATIBLE</pre>
<div class="block">Enum indicating that extension is compatible with other Package
Specification.</div>
</li>
</ul>
<a name="REQUIRE_SPECIFICATION_UPGRADE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REQUIRE_SPECIFICATION_UPGRADE</h4>
<pre>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> REQUIRE_SPECIFICATION_UPGRADE</pre>
<div class="block">Enum indicating that extension requires an upgrade
of specification to be compatible with other Package Specification.</div>
</li>
</ul>
<a name="REQUIRE_VENDOR_SWITCH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REQUIRE_VENDOR_SWITCH</h4>
<pre>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> REQUIRE_VENDOR_SWITCH</pre>
<div class="block">Enum indicating that extension requires a vendor
switch to be compatible with other Package Specification.</div>
</li>
</ul>
<a name="REQUIRE_IMPLEMENTATION_CHANGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REQUIRE_IMPLEMENTATION_CHANGE</h4>
<pre>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> REQUIRE_IMPLEMENTATION_CHANGE</pre>
<div class="block">Enum indicating that extension requires an upgrade
of implementation to be compatible with other Package Specification.</div>
</li>
</ul>
<a name="INCOMPATIBLE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>INCOMPATIBLE</h4>
<pre>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> INCOMPATIBLE</pre>
<div class="block">This enum indicates that an extension is incompatible with
other Package Specification in ways other than other enums
indicate. For example, the other Package Specification
may have a different ID.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Specification(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Specification</h4>
<pre>public Specification(java.lang.String specificationTitle,
java.lang.String specificationVersion,
java.lang.String specificationVendor,
java.lang.String implementationTitle,
java.lang.String implementationVersion,
java.lang.String implementationVendor)</pre>
<div class="block">The constructor to create Package Specification object.
Note that every component is allowed to be specified
but only the specificationTitle is mandatory.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>specificationTitle</code> - the name of specification.</dd><dd><code>specificationVersion</code> - the specification Version.</dd><dd><code>specificationVendor</code> - the specification Vendor.</dd><dd><code>implementationTitle</code> - the title of implementation.</dd><dd><code>implementationVersion</code> - the implementation Version.</dd><dd><code>implementationVendor</code> - the implementation Vendor.</dd></dl>
</li>
</ul>
<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>
<ul class="blockListLast">
<li class="blockList">
<h4>Specification</h4>
<pre>public Specification(java.lang.String specificationTitle,
java.lang.String specificationVersion,
java.lang.String specificationVendor,
java.lang.String implementationTitle,
java.lang.String implementationVersion,
java.lang.String implementationVendor,
java.lang.String[] sections)</pre>
<div class="block">The constructor to create Package Specification object.
Note that every component is allowed to be specified
but only the specificationTitle is mandatory.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>specificationTitle</code> - the name of specification.</dd><dd><code>specificationVersion</code> - the specification Version.</dd><dd><code>specificationVendor</code> - the specification Vendor.</dd><dd><code>implementationTitle</code> - the title of implementation.</dd><dd><code>implementationVersion</code> - the implementation Version.</dd><dd><code>implementationVendor</code> - the implementation Vendor.</dd><dd><code>sections</code> - the sections/packages that Specification applies to.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getSpecifications(java.util.jar.Manifest)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpecifications</h4>
<pre>public static <a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</a>[] getSpecifications(java.util.jar.Manifest manifest)
throws java.text.ParseException</pre>
<div class="block">Return an array of <code>Package Specification</code> objects.
If there are no such optional packages, a zero-length array is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>manifest</code> - Manifest to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>the Package Specifications extensions in specified manifest</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.text.ParseException</code> - if the attributes of the specifications cannot
be parsed according to their expected formats.</dd></dl>
</li>
</ul>
<a name="getSpecificationTitle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpecificationTitle</h4>
<pre>public java.lang.String getSpecificationTitle()</pre>
<div class="block">Get the title of the specification.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the title of speciication</dd></dl>
</li>
</ul>
<a name="getSpecificationVendor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpecificationVendor</h4>
<pre>public java.lang.String getSpecificationVendor()</pre>
<div class="block">Get the vendor of the specification.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the vendor of the specification.</dd></dl>
</li>
</ul>
<a name="getImplementationTitle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImplementationTitle</h4>
<pre>public java.lang.String getImplementationTitle()</pre>
<div class="block">Get the title of the specification.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the title of the specification.</dd></dl>
</li>
</ul>
<a name="getSpecificationVersion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpecificationVersion</h4>
<pre>public <a href="../../../../../../../org/apache/tools/ant/util/DeweyDecimal.html" title="class in org.apache.tools.ant.util">DeweyDecimal</a> getSpecificationVersion()</pre>
<div class="block">Get the version of the specification.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the version of the specification.</dd></dl>
</li>
</ul>
<a name="getImplementationVendor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImplementationVendor</h4>
<pre>public java.lang.String getImplementationVendor()</pre>
<div class="block">Get the vendor of the extensions implementation.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the vendor of the extensions implementation.</dd></dl>
</li>
</ul>
<a name="getImplementationVersion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImplementationVersion</h4>
<pre>public java.lang.String getImplementationVersion()</pre>
<div class="block">Get the version of the implementation.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the version of the implementation.</dd></dl>
</li>
</ul>
<a name="getSections()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSections</h4>
<pre>public java.lang.String[] getSections()</pre>
<div class="block">Return an array containing sections to which specification applies
or null if relevent to no sections.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing sections to which specification applies
or null if relevent to no sections.</dd></dl>
</li>
</ul>
<a name="getCompatibilityWith(org.apache.tools.ant.taskdefs.optional.extension.Specification)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompatibilityWith</h4>
<pre>public <a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Compatibility.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Compatibility</a> getCompatibilityWith(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</a> other)</pre>
<div class="block">Return a Compatibility enum indicating the relationship of this
<code>Package Specification</code> with the specified
<code>Extension</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - the other specification</dd>
<dt><span class="strong">Returns:</span></dt><dd>the enum indicating the compatibility (or lack thereof)
of specifed Package Specification</dd></dl>
</li>
</ul>
<a name="isCompatibleWith(org.apache.tools.ant.taskdefs.optional.extension.Specification)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCompatibleWith</h4>
<pre>public boolean isCompatibleWith(<a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/Specification.html" title="class in org.apache.tools.ant.taskdefs.optional.extension">Specification</a> other)</pre>
<div class="block">Return <code>true</code> if the specified <code>package</code>
is satisfied by this <code>Specification</code>. Otherwise, return
<code>false</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - the specification</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the specification is compatible with this specification</dd></dl>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public java.lang.String toString()</pre>
<div class="block">Return a String representation of this object.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>string representation of object.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/tools/ant/taskdefs/optional/extension/LibFileSet.html" title="class in org.apache.tools.ant.taskdefs.optional.extension"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/tools/ant/taskdefs/optional/extension/Specification.html" target="_top">Frames</a></li>
<li><a href="Specification.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>