Eclipse JDT
Release 3.5

Package org.eclipse.jdt.ui.jarpackager

Provides classes and interfaces to generate a JAR file.

See:
          Description

Interface Summary
IJarBuilder A JAR builder can be used to add elements to a JAR file which is about to be build.
IJarBuilderExtension Extends IJarBuilder with the following functions: Write a file to the JAR to build
IJarDescriptionReader Reads the description file of a JAR package data object into such an object.
IJarDescriptionWriter Writes the description file of a JAR package data object.
IJarExportRunnable A runnable which executes a JAR export operation within the workspace.
IManifestProvider A manifest provider creates manifest files.
 

Class Summary
JarPackageData Model for a JAR package which stores information used during JAR export and import.
JarWriter Deprecated. use JarWriter3 instead.
JarWriter2 Deprecated. Use JarWriter3 instead which leverages new EFS support
JarWriter3 Creates a JAR file for the given JAR package data.
 

Package org.eclipse.jdt.ui.jarpackager Description

Provides classes and interfaces to generate a JAR file. This package provides the interfaces and classes for exporting a set of resources to a JAR file via runnable. It offers hooks to extend the JarPackageData to load and store the JarPackageData and to write the JAR itself.

Package Specification

The JarPackageData contains all necessary information to generate a JAR file. This class can be extended to provide additional data or to plug-in a custom JarWriter. The default runnable which creates the JAR can be replaced by implementing IJarExportRunnable. The same applies for the manifest provider (IManifestProvider) and the classes which save (IJarDescriptionWriter) and read (IJarDescriptionReader) the JarPackageData.


Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.