Package org.codehaus.mojo.animal_sniffer
Class SignatureBuilder
java.lang.Object
org.codehaus.mojo.animal_sniffer.ClassFileVisitor
org.codehaus.mojo.animal_sniffer.SignatureBuilder
Builds up a signature list from the given classes.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureBuilder
(InputStream[] ins, OutputStream out, Logger logger) SignatureBuilder
(OutputStream out, Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExclude
(String className) void
addInclude
(String className) void
close()
static int
static void
protected void
process
(String name, InputStream image) Methods inherited from class org.codehaus.mojo.animal_sniffer.ClassFileVisitor
isCheckJars, process, process, process, processClassFile, processDirectory, processJarFile, setCheckJars
-
Constructor Details
-
SignatureBuilder
- Throws:
IOException
-
SignatureBuilder
- Throws:
IOException
-
-
Method Details
-
main
- Throws:
IOException
-
addInclude
-
addExclude
-
close
- Throws:
IOException
-
process
- Specified by:
process
in classClassFileVisitor
- Parameters:
name
- Displayable name to identify what class file we are processingimage
- Class file image.- Throws:
IOException
-
getJavaVersion
public static int getJavaVersion()
-