From d755882f59202fe62b2ad5a141b3c044c1898aa6 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Thu, 03 May 2007 21:55:23 +0000
Subject: [PATCH] Major changes made to the logging framework. It should resolve the following issues:

---
 opends/src/server/org/opends/server/loggers/FileNamingPolicy.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/loggers/FileNamingPolicy.java b/opends/src/server/org/opends/server/loggers/FileNamingPolicy.java
index ba76ea8..86f8874 100644
--- a/opends/src/server/org/opends/server/loggers/FileNamingPolicy.java
+++ b/opends/src/server/org/opends/server/loggers/FileNamingPolicy.java
@@ -27,6 +27,7 @@
 package org.opends.server.loggers;
 
 import java.io.File;
+import java.io.FilenameFilter;
 
 /**
  * A FileNamingPolicy is used by a MultiFileWriter to generate the
@@ -47,4 +48,21 @@
    * @return the next file.
    */
   public File getNextName();
+
+  /**
+   * Gets the filename filter that can be used to filter files named by this
+   * policy.
+   *
+   * @return The FilenameFilter that can filter files named by this policy.
+   */
+  public FilenameFilter getFilenameFilter();
+
+  /**
+   * Gets all the existing files named by this policy.
+   *
+   * @return The files named by this policy.
+   */
+  public File[] listFiles();
+
+
 }

--
Gitblit v1.10.0