Package net.sourceforge.javautil.classloader.impl

Examples of net.sourceforge.javautil.classloader.impl.PackageSearchInfo


     
      System.out.println("Searching for " + args[1] + " in " + args[0]);
      LibDirectoryClassSource lib = new LibDirectoryClassSource(new SystemDirectory(args[0]), true);
      List<ClassSource> sources = lib.getAllNonCompositeSources();
     
      PackageSearchInfo info = new PackageSearchInfo(args[1]);
      for (ClassSource source : sources) {
        if (source.hasPackage(info)) {
          System.out.println("Found in " + source);
        }
      }
View Full Code Here


    }
    return packages.contains(info.getPackageName());
  }

  @Override public synchronized boolean hasParentPackage(String packageName) {
    return this.hasPackage(new PackageSearchInfo(packageName));
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.javautil.classloader.impl.PackageSearchInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.