public class BSNRenamer extends BundleFileProcessor
X_ORIG_BSN
header,
to allow users to find out what happened.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUNDLE_SYMBOLIC_NAME |
static java.lang.String |
BUNDLE_VERSION |
static java.lang.String |
X_ORIG_BSN |
Constructor and Description |
---|
BSNRenamer(java.io.File input,
java.io.File outputFolder,
java.lang.String newBSN) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getTargetFilename(java.util.jar.Manifest inputJarManifest)
Return the filename to use for the newly created bundle file
|
protected java.util.jar.Manifest |
processManifest(java.util.jar.Manifest inputMF)
Process the bundle Manifest.
|
process
public static final java.lang.String BUNDLE_SYMBOLIC_NAME
public static final java.lang.String X_ORIG_BSN
public static final java.lang.String BUNDLE_VERSION
public BSNRenamer(java.io.File input, java.io.File outputFolder, java.lang.String newBSN)
protected java.util.jar.Manifest processManifest(java.util.jar.Manifest inputMF)
BundleFileProcessor
processManifest
in class BundleFileProcessor
protected java.lang.String getTargetFilename(java.util.jar.Manifest inputJarManifest)
BundleFileProcessor
getTargetFilename
in class BundleFileProcessor
Copyright © 2018 The Apache Software Foundation. All rights reserved.