Class ClasspathHelper

java.lang.Object
xyz.dynxsty.dih4jda.util.ClasspathHelper

public class ClasspathHelper extends Object
Utility class for finding classes on the classpath.
Since:
v1.6
  • Method Details

    • forPackage

      @Nonnull public static Collection<URL> forPackage(@Nonnull String packageName)
      Gets all URLs in the specified package.
      Parameters:
      packageName - The package name to search for.
      Returns:
      A Collection of URLs, based on the given package name.
      Since:
      v1.6