uk.org.simonsite.log4j.appender
Class BackupSuffixHelper

java.lang.Object
  extended by uk.org.simonsite.log4j.appender.BackupSuffixHelper

final class BackupSuffixHelper
extends Object

Version:
5.3
Author:
Simon Park

Constructor Summary
BackupSuffixHelper(AppenderRollingProperties properties)
           
 
Method Summary
(package private)  long[] backupTimeAndCount(String logFilename, File baseFile)
           
(package private)  String backupTimeAsString(long timeForSuffix)
           
(package private)  String backupTimeAsString(String logFilename, File baseFile)
           
(package private)  String defaultBackupCountAsString()
           
(package private)  String nextBackupCountAsString(String logFilename, File baseFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupSuffixHelper

BackupSuffixHelper(AppenderRollingProperties properties)
Method Detail

defaultBackupCountAsString

final String defaultBackupCountAsString()

nextBackupCountAsString

final String nextBackupCountAsString(String logFilename,
                                     File baseFile)

backupTimeAndCount

final long[] backupTimeAndCount(String logFilename,
                                File baseFile)

backupTimeAsString

final String backupTimeAsString(String logFilename,
                                File baseFile)

backupTimeAsString

final String backupTimeAsString(long timeForSuffix)