Class HtmlResourceCopier


  • public class HtmlResourceCopier
    extends Object
    Utility class that copies HTML resource files (images, stylesheets...) from a JAR to a target 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