Lines Matching refs:zipOut
91 ZipOutputStream zipOut = new ZipOutputStream(output)) {
111 copyHsp(hspFile, moduleJson, packInfo, zipOut);
185 private static void copyHsp(ZipFile hspFile, Path moduleJson, Path packInfo, ZipOutputStream zipOut)
187 zipOut.setLevel(Deflater.BEST_SPEED);
198 zipOut.putNextEntry(newEntry);
200 IOUtils.copy(hspFile.getInputStream(zipEntry), zipOut);
202 zipOut.closeEntry();
204 compressFile(moduleJson, isStored, MODULE_JSON, zipOut);
205 compressFile(packInfo, isStored, PACK_INFO, zipOut);
208 private static void compressFile(Path file, boolean isStored, String entryName, ZipOutputStream zipOut)
218 zipOut.putNextEntry(newEntry);
222 zipOut.putNextEntry(newEntry);
224 IOUtils.copy(input, zipOut);
225 zipOut.closeEntry();