157158159160161162163164165166167
zipOut.closeEntry(); } zipOut.finish(); zipOut.flush(); } catch (IOException ioe) { rOut.abort(); throw ioe; } out.close(); return true;
198199200201202203204205206207208
long copySum = out.getChecksum(); if (copySum == checksum) { out.close(); target = directFile; } else { out.abort(); throw new IOException("Error writing to " + directFile + " - checksums do not match"); } }