| <html> |
| <head> |
| <meta http-equiv="Content-Language" content="en-us"> |
| <title>ExtensionSet Type</title> |
| </head> |
| |
| <body> |
| <h2><a name="fileset">ClassFileSet</a></h2> |
| <p>Utility type that represents a set of Extensions.</p> |
| <p>Note that this type |
| works with extensions as defined by the "Optional Package" specification. |
| 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> or online at |
| <a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html"> |
| http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p> |
| |
| <h3>Nested Elements</h3> |
| |
| <h4>extension</h4> |
| <p><a href="extension.html">Extension</a> object to add to set.</p> |
| |
| <h4>fileset</h4> |
| <p><a href="../CoreTypes/fileset.html">FileSet</a>s all files contained |
| contained within set that are jars and implement an extension are added |
| to extension set.</p> |
| |
| <h4>fileset</h4> |
| <p><a href="libfileset.html">LibFileSet</a>s all files contained |
| contained within set that are jars and implement an extension are added |
| to extension set. However the extension information may be modified by |
| attributes of libfileset</p> |
| |
| <h4>Examples</h4> |
| <blockquote><pre> |
| <extension id="e1" |
| extensionName="MyExtensions" |
| specificationVersion="1.0" |
| specificationVendor="Peter Donald" |
| implementationVendorID="vv" |
| implementationVendor="Apache" |
| implementationVersion="2.0" |
| implementationURL="http://somewhere.com/myExt.jar"/> |
| |
| <libfileset id="lfs" |
| includeUrl="true" |
| includeImpl="false" |
| dir="tools/lib"> |
| <include name="*.jar"/> |
| </libfileset> |
| |
| <extensionSet id="exts"> |
| <libfileset dir="lib"> |
| <include name="*.jar"/> |
| </libfileset> |
| <libfileset refid="lfs"/> |
| <extension refid="e1"/> |
| </extensionSet> |
| |
| </pre></blockquote> |
| |
| <hr> |
| <p align="center">Copyright © 2002 Apache Software Foundation. All rights |
| Reserved.</p> |
| |
| </body> |
| </html> |
| |