if (di.getIsWeb()) {
content = di.getMatch();
}
String zipFileNameOnly = archiveZipFileName;
archiveZipFileName = FileUtils.addFolder(di.getArchiveDir(), archiveZipFileName);
ZippHandler zh = new ZippHandler(archiveZipFileName, di.getIndexPath());
boolean zipSuccess = true;
String errMsg = null;
setStatus(I18n.getString("archiving_index") + " " + di.getDescription() + " --> " + archiveZipFileName + ", " + I18n.getString("lower_please_wait") + "...");
try {
zh.zip();
}
catch (IOException ioe) {
errMsg = ioe.toString();
zipSuccess = false;
}