public abstract class BundleFileProcessor extends Object
BundleFileProcessor can transform a bundle Manifest
by creating a modified copy of the bundle file.| Constructor and Description |
|---|
BundleFileProcessor(File input,
File outputFolder) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getTargetFilename(Manifest inputJarManifest)
Return the filename to use for the newly created bundle file
|
File |
process()
Creates a new OSGi Bundle from a given bundle, processing its manifest
using the processManifest method.
|
protected abstract Manifest |
processManifest(Manifest originalManifest)
Process the bundle Manifest.
|
protected abstract Manifest processManifest(Manifest originalManifest)
originalManifest - The manifest to processprotected abstract String getTargetFilename(Manifest inputJarManifest)
inputJarManifest - The manifestpublic File process() throws IOException
IOException - If something goes wrong reading or writing.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.