Home
Categories
Dictionary
Download
Project Details
Changes Log
FAQ
License

DependencyChecker


The DependencyChecker check if a Jar file or a JarDependencies has dependencies to a set of packages or classes.

Examples

  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);

Categories: general

Copyright 2019 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 licence