Class ClasspathResourcesUtils

java.lang.Object
com.loohp.limbo.utils.ClasspathResourcesUtils

public class ClasspathResourcesUtils extends Object
list resources available from the classpath @ *
  • Constructor Details

    • ClasspathResourcesUtils

      public ClasspathResourcesUtils()
  • Method Details

    • getResources

      public static Collection<String> getResources(Pattern pattern)
      for all elements of java.class.path get a Collection of resources Pattern pattern = Pattern.compile(".*"); gets all resources
      Parameters:
      pattern - the pattern to match
      Returns:
      the resources in the order they are found