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
JarPackageDatato load and store the
JarPackageDataand to write the JAR itself.
JarPackageDatacontains 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 (
Interface Summary Interface Description IJarBuilderA JAR builder can be used to add elements to a JAR file which is about to be build. IJarBuilderExtensionExtends
IJarBuilderwith the following functions: Write a file to the JAR to build
IJarDescriptionReaderReads the description file of a JAR package data object into such an object. IJarDescriptionWriterWrites the description file of a JAR package data object. IJarExportRunnableA runnable which executes a JAR export operation within the workspace. IManifestProviderA manifest provider creates manifest files.
Class Summary Class Description JarPackageDataModel for a JAR package which stores information used during JAR export and import. JarWriter Deprecated.use
JarWriter2 Deprecated. JarWriter3Creates a JAR file for the given JAR package data.