Class ResourceHelpers

java.lang.Object
io.dropwizard.testing.ResourceHelpers

public class ResourceHelpers extends Object
A set of helper methods for working with classpath resources.
  • Method Details

    • resourceFilePath

      public static String resourceFilePath(String resourceClassPathLocation)
      Detects the absolute path of a class path resource.
      Parameters:
      resourceClassPathLocation - the filename of the class path resource
      Returns:
      the absolute path to the denoted resource