Make stream API public again.
diff --git a/org.jacoco.agent/src/org/jacoco/agent/AgentJar.java b/org.jacoco.agent/src/org/jacoco/agent/AgentJar.java
index 97d370e..1825861 100644
--- a/org.jacoco.agent/src/org/jacoco/agent/AgentJar.java
+++ b/org.jacoco.agent/src/org/jacoco/agent/AgentJar.java
@@ -50,6 +50,19 @@
 	}

 

 	/**

+	 * Returns the content of the JAR file as a stream.

+	 * 

+	 * @return content of the JAR file

+	 */

+	public static InputStream getResourceAsStream() throws IOException {

+		final InputStream stream = AgentJar.class.getResourceAsStream(RESOURCE);

+		if (stream == null) {

+			throw new IOException(ERRORMSG);

+		}

+		return stream;

+	}

+

+	/**

 	 * Extract the JaCoCo agent jar from the classpath and put it into a

 	 * temporary location. This file should be deleted on exit, but may not if

 	 * the VM is terminated

@@ -98,19 +111,6 @@
 	}

 

 	/**

-	 * Returns the content of the JAR file as a stream.

-	 * 

-	 * @return content of the JAR file

-	 */

-	private static InputStream getResourceAsStream() throws IOException {

-		final InputStream stream = AgentJar.class.getResourceAsStream(RESOURCE);

-		if (stream == null) {

-			throw new IOException(ERRORMSG);

-		}

-		return stream;

-	}

-

-	/**

 	 * Close a stream ignoring any error

 	 * 

 	 * @param closeable