MCPcopy Create free account
hub / github.com/ReadyTalk/avian / close

Method close

classpath/java/util/zip/ZipOutputStream.java:205–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 }
204
205 @Override
206 public void close() throws IOException {
207 int centralDirOffset = bytesWritten;
208 for (ZipEntry e : entries)
209 writeCentralDirectoryHeader(e);
210 writeEndofCentralDirectory(centralDirOffset);
211 deflater.dispose();
212 out.close();
213 }
214
215 @Override
216 public void flush() throws IOException {

Callers 1

createZipMethod · 0.95

Calls 4

disposeMethod · 0.65
closeMethod · 0.65

Tested by 1

createZipMethod · 0.76