| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006 Sun Microsystems, Inc. |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.loggers; |
| | | |
| | | import java.io.File; |
| | | |
| | | import static org.opends.server.loggers.Debug.*; |
| | | |
| | | /** |
| | | * This class implements a post rotation action that encrypts |
| | | * the log file. |
| | | */ |
| | | public class EncryptAction implements PostRotationAction |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | | */ |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.loggers.EncryptAction"; |
| | | |
| | | private File originalFile; |
| | | private String newFile; |