Methods inherited from class java.lang.
Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Return the backing file.
public void rotate()
Rotate this file.
public int compareTo(
Compares this log file to another file. It will return
a negative number if this log file has a smaller version,
a positive number if this log file a bigger version
0 if they have the same version.
compareTo Comparable< RotatingLogFile>
RotatingLogFile listFiles( File directory,
List all log files inside some directory. The list returned is
guaranteed to be in descending order, i.e. it is safe to rotate
every file in turn without accidentally overwriting another one.
directory - parent directory
basename - basename expected
Returns: array of log files found
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.