net.sourceforge.cobertura.reporting.html.files

Class CopyFiles


public abstract class CopyFiles
extends java.lang.Object

Method Summary

static void
copy(File destinationDir)
private static void
copyResourceFromJar(String resourceName, File directory)
Copy a file from the jar to a directory on the local machine.

Method Details

copy

public static void copy(File destinationDir)
            throws IOException

copyResourceFromJar

private static void copyResourceFromJar(String resourceName,
                                        File directory)
            throws IOException
Copy a file from the jar to a directory on the local machine.
Parameters:
resourceName - The name of the file in the jar. This file must exist the same package as this method.
directory - The directory to copy the jar to.