code: public static InputStream createBundle( final InputStream jarInputStream,
                                              final Properties instructions,
                                              final String jarInfo )
          throws IOException
      {
          return createBundle( jarInputStream, instructions, jarInfo, OverwriteMode.KEEP );
      }
docs: Processes the input jar and generates the necessary OSGi headers using specified instructions.
  
  @param jarInputStream input stream for the jar to be processed. Cannot be null.
  @param instructions   bnd specific processing instructions. Cannot be null.
  @param jarInfo        information about the jar to be processed. Usually the jar url. Cannot be null or empty.
  
  @return an input stream for the generated bundle
  
  @throws NullArgumentException if any of the parameters is null
  @throws IOException           re-thron during jar processing