Class ClasspathJarDuplicateClassFinder

java.lang.Object
com.atlassian.confluence.util.classpath.ClasspathJarDuplicateClassFinder
All Implemented Interfaces:
DuplicateClassFinder

public class ClasspathJarDuplicateClassFinder extends Object implements DuplicateClassFinder
Finds duplicate classes in JARs in the classpath of the thread context classloader.
  • Field Details

    • KNOWN_DUPLICATE_PACKAGES

      public static final List<String> 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

      public static final Set<String> 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