| | |
| | | * This class implements a post rotation action that compresses |
| | | * the file using ZIP compression. |
| | | */ |
| | | public class ZIPAction implements PostRotationAction |
| | | class ZIPAction implements PostRotationAction |
| | | { |
| | | |
| | | private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass(); |
| | |
| | | * @param deleteOrig Whether the source file should be deleted after |
| | | * compression or not. |
| | | */ |
| | | public ZIPAction(String origFile, String newFile, boolean deleteOrig) |
| | | ZIPAction(String origFile, String newFile, boolean deleteOrig) |
| | | { |
| | | this.originalFile = new File(origFile); |
| | | this.newFile = new File(newFile); |