Class Locations


  • public final class Locations
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<Location> inClassPath()  
      static java.util.Set<Location> of​(java.lang.Iterable<java.net.URL> urls)  
      static java.util.Set<Location> ofClass​(java.lang.Class<?> clazz)  
      static java.util.Set<Location> ofPackage​(java.lang.String pkg)
      All locations in the classpath that match the supplied package.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ofPackage

        @PublicAPI(usage=ACCESS)
        public static java.util.Set<Location> ofPackage​(java.lang.String pkg)
        All locations in the classpath that match the supplied package.
        Parameters:
        pkg - the package to look for within the classpath
        Returns:
        Locations of all paths that match the supplied package