Package net.thucydides.core.reports.html
Class HtmlResourceCopier
- java.lang.Object
-
- net.thucydides.core.reports.html.HtmlResourceCopier
-
public class HtmlResourceCopier extends Object
Utility class that copies HTML resource files (images, stylesheets...) from a JAR to a target directory.
-
-
Constructor Summary
Constructors Constructor Description HtmlResourceCopier(String resourceDirectory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HtmlResourceCopiercopyHtmlResourcesFrom(String resourceDirectory)voidto(File targetDirectory)Resources (stylesheets, images) etc are all stored in the src/main/resources/reports directory.
-
-
-
Constructor Detail
-
HtmlResourceCopier
public HtmlResourceCopier(String resourceDirectory)
-
-
Method Detail
-
to
public void to(File targetDirectory) throws IOException
Resources (stylesheets, images) etc are all stored in the src/main/resources/reports directory. When the jar is deployed, they will end up on the classpath.- Throws:
IOException
-
copyHtmlResourcesFrom
public static HtmlResourceCopier copyHtmlResourcesFrom(String resourceDirectory)
-
-