org.codehaus.mojo.animal_sniffer
Class SignatureChecker
java.lang.Object
org.codehaus.mojo.animal_sniffer.ClassFileVisitor
org.codehaus.mojo.animal_sniffer.SignatureChecker
public class SignatureChecker
- extends ClassFileVisitor
Checks the signature against classes in this list.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureChecker
public SignatureChecker(InputStream in,
Set ignoredPackages,
Logger logger)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
process
protected void process(String name,
InputStream image)
throws IOException
- Specified by:
process
in class ClassFileVisitor
- Parameters:
name
- Displayable name to identify what class file we are processingimage
- Class file image.
- Throws:
IOException
isSignatureBroken
public boolean isSignatureBroken()
Copyright © 2008-2012 Codehaus. All Rights Reserved.