/** * Creates a ClassFinder that will search the urls in the specified classloader. * * @param classLoader source of classes to scan * @param excludeParent Allegedly excludes classes from parent classloader, whatever that might mean * @throws Exception if something goes wrong. */ public ClassFinder(ClassLoader classLoader, boolean excludeParent) throws Exception { this(classLoader, getUrls(classLoader, excludeParent)); }
/** * Creates a ClassFinder that will search the urls in the specified classloader excluding * the urls in the 'exclude' classloader. * * @param classLoader source of classes to scan * @param exclude source of classes to exclude from scanning * @throws Exception if something goes wrong */ public ClassFinder(ClassLoader classLoader, ClassLoader exclude) throws Exception { this(classLoader, getUrls(classLoader, exclude)); }
/** * Creates a ClassFinder that will search the urls in the specified classloader excluding * the urls in the 'exclude' classloader. * * @param classLoader source of classes to scan * @param exclude source of classes to exclude from scanning * @throws Exception if something goes wrong */ public ClassFinder(ClassLoader classLoader, ClassLoader exclude) throws Exception { this(classLoader, getUrls(classLoader, exclude)); }
/** * Creates a ClassFinder that will search the urls in the specified classloader. * * @param classLoader source of classes to scan * @param excludeParent Allegedly excludes classes from parent classloader, whatever that might mean * @throws Exception if something goes wrong. */ public ClassFinder(ClassLoader classLoader, boolean excludeParent) throws Exception { this(classLoader, getUrls(classLoader, excludeParent)); }
/** * Creates a ClassFinder that will search the urls in the specified classloader excluding * the urls in the 'exclude' classloader. * * @param classLoader source of classes to scan * @param exclude source of classes to exclude from scanning * @throws Exception if something goes wrong */ public ClassFinder(ClassLoader classLoader, ClassLoader exclude) throws Exception { this(classLoader, getUrls(classLoader, exclude)); }
/** * Creates a ClassFinder that will search the urls in the specified classloader. * * @param classLoader source of classes to scan * @param excludeParent Allegedly excludes classes from parent classloader, whatever that might mean * @throws Exception if something goes wrong. */ public ClassFinder(ClassLoader classLoader, boolean excludeParent) throws Exception { this(classLoader, getUrls(classLoader, excludeParent)); }
private static Collection<URL> getUrls(ClassLoader classLoader, boolean excludeParent) throws IOException { return getUrls(classLoader, excludeParent? classLoader.getParent() : null); }
private static Collection<URL> getUrls(ClassLoader classLoader, boolean excludeParent) throws IOException { return getUrls(classLoader, excludeParent? classLoader.getParent() : null); }
private static Collection<URL> getUrls(ClassLoader classLoader, boolean excludeParent) throws IOException { return getUrls(classLoader, excludeParent? classLoader.getParent() : null); }