Package org.apache.sling.commons.osgi
Class BSNRenamer
- java.lang.Object
-
- org.apache.sling.commons.osgi.BundleFileProcessor
-
- org.apache.sling.commons.osgi.BSNRenamer
-
public class BSNRenamer extends BundleFileProcessor
Processes a bundle file by changing its Bundle-SymbolicName. The original BSN is copied to a anX_ORIG_BSN
header, to allow users to find out what happened.- Since:
- 2.4
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BUNDLE_SYMBOLIC_NAME
static java.lang.String
BUNDLE_VERSION
static java.lang.String
X_ORIG_BSN
-
Constructor Summary
Constructors Constructor Description BSNRenamer(java.io.File input, java.io.File outputFolder, java.lang.String newBSN)
-
Method Summary
-
Methods inherited from class org.apache.sling.commons.osgi.BundleFileProcessor
process
-
-
-
-
Field Detail
-
BUNDLE_SYMBOLIC_NAME
public static final java.lang.String BUNDLE_SYMBOLIC_NAME
- See Also:
- Constant Field Values
-
X_ORIG_BSN
public static final java.lang.String X_ORIG_BSN
- See Also:
- Constant Field Values
-
BUNDLE_VERSION
public static final java.lang.String BUNDLE_VERSION
- See Also:
- Constant Field Values
-
-