java.lang.AutoCloseable
, Jar
public class UrlJar extends AbstractInputStreamJar
Jar
that is optimised for
non-file based JAR URLs.Constructor | Description |
---|---|
UrlJar(java.net.URL jarFileURL) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Close any resources associated with this JAR.
|
protected NonClosingJarInputStream |
createJarInputStream() |
closeStream, getEntryInputStream, getEntryName, getInputStream, getJarFileURL, getLastModified, getManifest, getURL, nextEntry, reset
public void close()
Jar
protected NonClosingJarInputStream createJarInputStream() throws java.io.IOException
createJarInputStream
in class AbstractInputStreamJar
java.io.IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.