|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cobertura.reporting.html.files.CopyFiles
Constructor Summary | |
CopyFiles()
|
Method Summary | |
static void |
copy(java.io.File destinationDir)
|
private static void |
copyResourceFromJar(java.lang.String resourceName,
java.io.File directory)
Copy a file from the jar to a directory on the local machine. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CopyFiles()
Method Detail |
public static void copy(java.io.File destinationDir) throws java.io.IOException
java.io.IOException
private static void copyResourceFromJar(java.lang.String resourceName, java.io.File directory) throws java.io.IOException
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.
java.io.IOException
- If the file could not be read from the
jar or written to the disk.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |