MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / close

Method close

src/gnu/zip/ZipFile.java:301–313  ·  view source on GitHub ↗

Closes the ZipFile. This also closes all input streams given by this class. After this is called, no further method should be called. @exception IOException if a i/o error occured.

()

Source from the content-addressed store, hash-verified

299 * @exception IOException if a i/o error occured.
300 */
301 public void close() throws IOException
302 {
303 RandomReadingFile rrf = this.rrf;
304 if (rrf == null)
305 return;
306
307 synchronized (rrf)
308 {
309 closed = true;
310 entries = null;
311 rrf.close();
312 }
313 }
314
315 /**
316 * Calls the <code>close()</code> method when this ZipFile has not yet

Callers 1

finalizeMethod · 0.95

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected