Class JarPrinter

  • All Implemented Interfaces:
    Constants, Registry, aQute.service.reporter.Report, aQute.service.reporter.Reporter, java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<java.lang.String>

    public class JarPrinter
    extends Processor
    • Constructor Detail

      • JarPrinter

        public JarPrinter​(Processor bnd)
      • JarPrinter

        public JarPrinter()
    • Method Detail

      • doPrint

        public JarPrinter doPrint​(Jar jar,
                                  int options,
                                  boolean java,
                                  boolean xport)
                           throws java.util.zip.ZipException,
                                  java.io.IOException,
                                  java.lang.Exception
        Throws:
        java.util.zip.ZipException
        java.io.IOException
        java.lang.Exception
      • doXref

        public void doXref​(Jar jar,
                           int options,
                           boolean java,
                           boolean xport)
                    throws java.lang.Exception,
                           java.io.IOException
        Throws:
        java.lang.Exception
        java.io.IOException
      • doList

        public void doList​(Jar jar)
      • doCapabilities

        public void doCapabilities​(Jar jar)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doImpExp

        public void doImpExp​(Jar jar)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doVerify

        public void doVerify​(Jar jar)
                      throws java.lang.Exception,
                             java.io.IOException
        Throws:
        java.lang.Exception
        java.io.IOException
      • doManifest

        public void doManifest​(Jar jar)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doManifest

        public JarPrinter doManifest​(java.util.jar.Manifest manifest)
        Parameters:
        manifest -
      • getWriter

        public java.io.Writer getWriter()
      • doMetatype

        public void doMetatype​(Jar jar)
                        throws java.lang.Exception
        Print the metatypes in this JAR.
        Parameters:
        jar -
        Throws:
        java.lang.Exception
      • print

        public void print​(java.lang.String msg,
                          java.util.Map<?,​? extends java.util.Map<?,​?>> ports)
        Parameters:
        msg -
        ports -
      • toString

        public java.lang.String toString()
        Description copied from class: Processor
        Printout of the status of this processor for toString()
        Overrides:
        toString in class Processor