JarDependencies
has dependencies to a set of packages or classes.
Set<String> set = new HashSet<>(); set.add("java.util"); DependencyChecker checker = new DependencyChecker(); boolean dependsOn = checker.check(<myJarFile>, set);
Set<String> set = new HashSet<>(); set.add("java.util.List"); DependencyChecker checker = new DependencyChecker(); boolean dependsOn = checker.check(<myJarFile>, set);
Copyright 2019 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 licence