public class JarListSanitizer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JarListSanitizer.DifferentLibException
Exception used to indicate the sanitized list of jar dependency cannot be computed due
to inconsistency in duplicate jar files.
|
static class |
JarListSanitizer.Sha1Exception
Exception to indicate a failure to check a jar file's content.
|
Constructor and Description |
---|
JarListSanitizer(java.io.File out)
Creates a sanitizer.
|
JarListSanitizer(java.io.File out,
java.io.PrintStream outStream) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.io.File> |
sanitize(java.util.Collection<java.io.File> files)
Sanitize a given list of files
|
public JarListSanitizer(java.io.File out)
out
- the project output where the cache is to be stored.public JarListSanitizer(java.io.File out, java.io.PrintStream outStream)
public java.util.List<java.io.File> sanitize(java.util.Collection<java.io.File> files) throws JarListSanitizer.DifferentLibException, JarListSanitizer.Sha1Exception
files
- the list to sanitizeJarListSanitizer.DifferentLibException
JarListSanitizer.Sha1Exception