java.lang.Object | |||
↳ | java.util.zip.ZipFile | ||
↳ | java.util.jar.JarFile | ||
↳ | sun.net.www.protocol.jar.URLJarFile |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
URLJarFile.URLJarFileCloseController |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Closes the ZIP file.
| |||||||||||
Returns the
ZipEntry for the given entry name or
null if not found. | |||||||||||
Returns the jar file manifest, or
null if none. | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Ensures that the
close method of this ZIP file is
called when there are no more references to it. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
IOException |
---|
Closes the ZIP file.
Closing this ZIP file will close all of the input streams
previously returned by invocations of the getInputStream
method.
IOException |
---|
Returns the ZipEntry
for the given entry name or
null
if not found.
name | the JAR file entry name |
---|
ZipEntry
for the given entry name or
null
if not foundReturns the jar file manifest, or null
if none.
null
if noneIOException |
---|
Ensures that the close
method of this ZIP file is
called when there are no more references to it.
Since the time when GC would invoke this method is undetermined,
it is strongly recommended that applications invoke the close
method as soon they have finished accessing this ZipFile
.
This will prevent holding up system resources for an undetermined
length of time.
IOException |
---|