Package org.opends.server.loggers
Class TimeStampNaming
- java.lang.Object
-
- org.opends.server.loggers.TimeStampNaming
-
public class TimeStampNaming extends Object
A file name policy that names files suffixed by the time it was created.
-
-
Constructor Summary
Constructors Constructor Description TimeStampNaming(File file)Create a new instance of the TimeStampNaming policy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilenameFiltergetFilenameFilter()FilegetInitialName()FilegetNextName()File[]listFiles()
-
-
-
Constructor Detail
-
TimeStampNaming
public TimeStampNaming(File file)
Create a new instance of the TimeStampNaming policy. Files will be created with the names in the prefix.utctime format.- Parameters:
file- the file to use as the naming prefix.
-
-
Method Detail
-
getInitialName
public File getInitialName()
-
getNextName
public File getNextName()
-
getFilenameFilter
public FilenameFilter getFilenameFilter()
-
listFiles
public File[] listFiles()
-
-