public class ClasspathJarDuplicateClassFinder extends Object implements DuplicateClassFinder
| Modifier and Type | Field and Description | 
|---|---|
| static org.apache.commons.collections.Predicate | EXCLUDE_KNOWN_DUPLICATES | 
| static Set<String> | KNOWN_DUPLICATE_CLASSES | 
| static List<String> | KNOWN_DUPLICATE_PACKAGESA list of prefixes of class file paths to exclude. | 
| Constructor and Description | 
|---|
| ClasspathJarDuplicateClassFinder() | 
| ClasspathJarDuplicateClassFinder(org.apache.commons.collections.Predicate classFileNamePredicate) | 
| Modifier and Type | Method and Description | 
|---|---|
| SortedSet<String> | getClassFileNames(JarSet jars) | 
| SortedSet<String> | getClassNames(JarSet jars) | 
| Set<JarSet> | getJarSetsWithCommonClasses() | 
| SortedSet<String> | getPackageNames(JarSet jars) | 
| static boolean | isKnownDuplicate(String classFileName) | 
public static final List<String> KNOWN_DUPLICATE_PACKAGES
public static final org.apache.commons.collections.Predicate EXCLUDE_KNOWN_DUPLICATES
public ClasspathJarDuplicateClassFinder()
public ClasspathJarDuplicateClassFinder(org.apache.commons.collections.Predicate classFileNamePredicate)
public Set<JarSet> getJarSetsWithCommonClasses()
getJarSetsWithCommonClasses in interface DuplicateClassFinderpublic SortedSet<String> getClassFileNames(JarSet jars)
getClassFileNames in interface DuplicateClassFinderpublic SortedSet<String> getPackageNames(JarSet jars)
getPackageNames in interface DuplicateClassFinderpublic SortedSet<String> getClassNames(JarSet jars)
getClassNames in interface DuplicateClassFinderpublic static boolean isKnownDuplicate(String classFileName)
Copyright © 2003–2017 Atlassian. All rights reserved.