Class BundleFileProcessor

  • Direct Known Subclasses:
    BSNRenamer

    public abstract class BundleFileProcessor
    extends java.lang.Object
    The BundleFileProcessor can transform a bundle Manifest by creating a modified copy of the bundle file.
    Since:
    2.4
    • Constructor Summary

      Constructors 
      Constructor Description
      BundleFileProcessor​(java.io.File input, java.io.File outputFolder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File process()
      Creates a new OSGi Bundle from a given bundle, processing its manifest using the processManifest method.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BundleFileProcessor

        public BundleFileProcessor​(java.io.File input,
                                   java.io.File outputFolder)
    • Method Detail

      • process

        public java.io.File process()
                             throws java.io.IOException
        Creates a new OSGi Bundle from a given bundle, processing its manifest using the processManifest method.
        Returns:
        The new bundle file
        Throws:
        java.io.IOException - If something goes wrong reading or writing.