Class ClasspathJarDuplicateClassFinder
java.lang.Object
com.atlassian.confluence.util.classpath.ClasspathJarDuplicateClassFinder
- All Implemented Interfaces:
 DuplicateClassFinder
Finds duplicate classes in JARs in the classpath of the thread context classloader.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.commons.collections.PredicateA list of prefixes of class file paths to exclude. - 
Constructor Summary
ConstructorsConstructorDescriptionClasspathJarDuplicateClassFinder(org.apache.commons.collections.Predicate classFileNamePredicate)  - 
Method Summary
Modifier and TypeMethodDescriptiongetClassFileNames(JarSet jars) getClassNames(JarSet jars) getPackageNames(JarSet jars) static booleanisKnownDuplicate(String classFileName)  
- 
Field Details
- 
KNOWN_DUPLICATE_PACKAGES
A list of prefixes of class file paths to exclude. For example, "javax/transaction/" will exclude everything in the javax.transaction package and all subpackages too. - 
KNOWN_DUPLICATE_CLASSES
 - 
EXCLUDE_KNOWN_DUPLICATES
public static final org.apache.commons.collections.Predicate EXCLUDE_KNOWN_DUPLICATES 
 - 
 - 
Constructor Details
- 
ClasspathJarDuplicateClassFinder
public ClasspathJarDuplicateClassFinder() - 
ClasspathJarDuplicateClassFinder
public ClasspathJarDuplicateClassFinder(org.apache.commons.collections.Predicate classFileNamePredicate)  
 - 
 - 
Method Details
- 
getJarSetsWithCommonClasses
- Specified by:
 getJarSetsWithCommonClassesin interfaceDuplicateClassFinder
 - 
getClassFileNames
- Specified by:
 getClassFileNamesin interfaceDuplicateClassFinder
 - 
getPackageNames
- Specified by:
 getPackageNamesin interfaceDuplicateClassFinder
 - 
getClassNames
- Specified by:
 getClassNamesin interfaceDuplicateClassFinder
 - 
isKnownDuplicate
 
 -