public class BSNRenamer extends BundleFileProcessor
X_ORIG_BSN header,
to allow users to find out what happened.| Modifier and Type | Field and Description |
|---|---|
static String |
BUNDLE_SYMBOLIC_NAME |
static String |
BUNDLE_VERSION |
static String |
X_ORIG_BSN |
| Constructor and Description |
|---|
BSNRenamer(File input,
File outputFolder,
String newBSN) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getTargetFilename(Manifest inputJarManifest)
Return the filename to use for the newly created bundle file
|
protected Manifest |
processManifest(Manifest inputMF)
Process the bundle Manifest.
|
processpublic static final String BUNDLE_SYMBOLIC_NAME
public static final String X_ORIG_BSN
public static final String BUNDLE_VERSION
protected Manifest processManifest(Manifest inputMF)
BundleFileProcessorprocessManifest in class BundleFileProcessorinputMF - The manifest to processprotected String getTargetFilename(Manifest inputJarManifest)
BundleFileProcessorgetTargetFilename in class BundleFileProcessorinputJarManifest - The manifestCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.