Class SignatureBuilder


  • public class SignatureBuilder
    extends ClassFileVisitor
    Builds up a signature list from the given classes.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • SignatureBuilder

        public SignatureBuilder​(java.io.OutputStream out,
                                Logger logger)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • SignatureBuilder

        public SignatureBuilder​(java.io.InputStream[] ins,
                                java.io.OutputStream out,
                                Logger logger)
                         throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • addInclude

        public void addInclude​(java.lang.String className)
      • addExclude

        public void addExclude​(java.lang.String className)
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • process

        protected void process​(java.lang.String name,
                               java.io.InputStream image)
                        throws java.io.IOException
        Specified by:
        process in class ClassFileVisitor
        Parameters:
        name - Displayable name to identify what class file we are processing
        image - Class file image.
        Throws:
        java.io.IOException
      • getJavaVersion

        public static int getJavaVersion()