Lines Matching defs:zOut
310 ZipOutputStream zOut = null;
328 zOut = new ZipOutputStream(new FileOutputStream(backupFile));
333 baseDir + OPENDS_DIR + File.separator, zOut, (baseDir + File.separator).length());
336 zOut.close();
340 if (zOut != null) {
342 zOut.close();
351 private static void zipDir(File filename, String dirName, ZipOutputStream zOut, int stripLen) {
358 zOut.putNextEntry(new ZipEntry((dirName + filename.getName()).replace('\\','/').substring(stripLen)));
367 zOut.write(buffer, 0, buffer.length);
368 zOut.closeEntry();
372 zOut.putNextEntry(new ZipEntry(subdirname.replace('\\','/').substring(stripLen)));
373 zOut.closeEntry();
378 zipDir(new File(subdirname + dir), subdirname, zOut, stripLen);