Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.log
Interface FileStrategy

All Known Implementing Classes:
RevolvingFileStrategy

public interface FileStrategy

Strategy for naming log files. For a given base file name an implementation calculates the real file name.


Method Summary
 java.io.File currentFile()
          Get the current logfile
 java.io.File nextFile()
          Get the next log file to rotate to.
 

Method Detail

currentFile

java.io.File currentFile()
Get the current logfile


nextFile

java.io.File nextFile()
Get the next log file to rotate to.

Returns:
the file to rotate to

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.