|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.loggers.TimeStampNaming
public class TimeStampNaming
A file name policy that names files suffixed by the time it was created.
| Constructor Summary | |
|---|---|
TimeStampNaming(java.io.File file)
Create a new instance of the TimeStampNaming policy. |
|
| Method Summary | |
|---|---|
java.io.FilenameFilter |
getFilenameFilter()
Gets the filename filter that can be used to filter files named by this policy. |
java.io.File |
getInitialName()
Initializes the policy and returns the current name to use. |
java.io.File |
getNextName()
Gets the next name to use. |
java.io.File[] |
listFiles()
Gets all the existing files named by this policy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeStampNaming(java.io.File file)
file - the file to use as the naming prefix.| Method Detail |
|---|
public java.io.File getInitialName()
getInitialName in interface FileNamingPolicypublic java.io.File getNextName()
getNextName in interface FileNamingPolicypublic java.io.FilenameFilter getFilenameFilter()
getFilenameFilter in interface FileNamingPolicypublic java.io.File[] listFiles()
listFiles in interface FileNamingPolicynull if an
error occured.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||