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.
|
Method Summary |
void |
copyHTMLResourcesTo(File targetDirectory)
Resources (stylesheets, images) etc are all stored in the
src/main/resources/reports directory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlResourceCopier
public HtmlResourceCopier(String resourceDirectory)
copyHTMLResourcesTo
public void copyHTMLResourcesTo(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
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.