| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | Returns: The bytesThe stream from which to extract bytes. inputStream)Extracts the bytes out of an InputStream. |
| public static byte[] | Returns: The bytesThe stream from which to extract bytes. inputStream)Extracts the bytes out of an InputStream. |
| public static URL | Returns: the JAR URLURL pointing to the known file in the JAR url, String file known to be in the JAR entry)Get the JAR URL of the JAR containing the given entry Method used in a non managed environment |
| public static URL | Returns: The resolved URL referenceThe path that represents a URL jarPath)get the URL from a given path string |
| log | back to summary |
|---|---|
| private static final Logger log | |
| ArchiveHelper | back to summary |
|---|---|
| private ArchiveHelper() | |
| getBytesFromInputStream | back to summary |
|---|---|
| public static byte[] getBytesFromInputStream(InputStream inputStream) throws IOException Extracts the bytes out of an InputStream.
| |
| getBytesFromInputStreamSafely | back to summary |
|---|---|
| public static byte[] getBytesFromInputStreamSafely(InputStream inputStream) throws ArchiveException Extracts the bytes out of an InputStream. This form is the same as
| |
| getJarURLFromURLEntry | back to summary |
|---|---|
| public static URL getJarURLFromURLEntry(URL url, String entry) throws IllegalArgumentException Get the JAR URL of the JAR containing the given entry Method used in a non managed environment
| |
| getURLFromPath | back to summary |
|---|---|
| public static URL getURLFromPath(String jarPath) get the URL from a given path string
| |