public final class AgentJar extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
extractTo(File destination)
Extract the JaCoCo agent JAR and put it into the specified location.
|
static File |
extractToTempLocation()
Extract the JaCoCo agent JAR and put it into a temporary location.
|
static URL |
getResource()
Returns a URL pointing to the JAR file.
|
static InputStream |
getResourceAsStream()
Returns the content of the JAR file as a stream.
|
public static URL getResource()
public static InputStream getResourceAsStream()
public static File extractToTempLocation() throws IOException
IOException - Unable to unpack agent jarpublic static void extractTo(File destination) throws IOException
destination - Location to write JaCoCo Agent Jar to. Must be writeableIOException - Unable to unpack agent jarCopyright © 2009-2015 Mountainminds GmbH & Co. KG. All Rights Reserved.