org.apache.log.output.io.rotate
Interface FileStrategy

All Known Implementing Classes:
RevolvingFileStrategy, UniqueFileStrategy

public interface FileStrategy

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

Author:
Bernhard Huber, Peter Donald

Method Summary
 File nextFile()
          Get the next log file to rotate to.
 

Method Detail

nextFile

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

Returns:
the file to rotate to


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."