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 String
BUNDLE_SYMBOLIC_NAME
static String
BUNDLE_VERSION
static String
X_ORIG_BSN
-
Constructor Summary
Constructors Constructor Description BSNRenamer(File input, File outputFolder, String newBSN)
-
-
-
Field Detail
-
BUNDLE_SYMBOLIC_NAME
public static final String BUNDLE_SYMBOLIC_NAME
- See Also:
- Constant Field Values
-
X_ORIG_BSN
public static final String X_ORIG_BSN
- See Also:
- Constant Field Values
-
BUNDLE_VERSION
public static final String BUNDLE_VERSION
- See Also:
- Constant Field Values
-
-