java.lang.Object
net.thucydides.model.resources.ResourceList
Utility class to read report resources from the classpath. This way, report
resources such as images and stylesheets can be shipped in a separate JAR
file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceListforResources(String resourceDirectory, Pattern pattern) list()Find a list of resources matching a given path on the classpath.protected ZipFilezipFileFor(File file)
-
Constructor Details
-
ResourceList
-
-
Method Details
-
forResources
-
list
Find a list of resources matching a given path on the classpath. for all elements of java.class.path get a Collection of resources Pattern pattern = Pattern.compile(".*"); gets all resources- Returns:
- the resources in the order they are found
-
zipFileFor
- Throws:
IOException
-