Package org.apache.sling.commons.osgi
Class BundleFileProcessor
- java.lang.Object
-
- org.apache.sling.commons.osgi.BundleFileProcessor
-
- Direct Known Subclasses:
BSNRenamer
public abstract class BundleFileProcessor extends Object
TheBundleFileProcessor
can transform a bundle Manifest by creating a modified copy of the bundle file.- Since:
- 2.4
-
-
Constructor Summary
Constructors Constructor Description BundleFileProcessor(File input, File outputFolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
process()
Creates a new OSGi Bundle from a given bundle, processing its manifest using the processManifest method.
-
-
-
Method Detail
-
process
public File process() throws IOException
Creates a new OSGi Bundle from a given bundle, processing its manifest using the processManifest method.- Returns:
- The new bundle file
- Throws:
IOException
- If something goes wrong reading or writing.
-
-