|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.journal.RotatingLogFile
public class RotatingLogFile
Represents a log file that can be rotated.
| Method Summary | |
|---|---|
int |
compareTo(RotatingLogFile o)
Compares this log file to another file. |
File |
getFile()
Return the backing file. |
static RotatingLogFile[] |
listFiles(File directory,
String basename)
List all log files inside some directory. |
void |
rotate()
Rotate this file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public File getFile()
public void rotate()
public int compareTo(RotatingLogFile o)
0 if they have the same version.
compareTo in interface Comparable<RotatingLogFile>
public static RotatingLogFile[] listFiles(File directory,
String basename)
directory - parent directorybasename - basename expected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||