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)
protected abstract String getTargetFilename(Manifest inputJarManifest)
public File process() throws IOException
IOException
- If something goes wrong reading or writing.Copyright © 2017 The Apache Software Foundation. All rights reserved.