org.schmant.report
Class OverwritingFileReportFactory
java.lang.Object
org.schmant.report.FileReportFactory
org.schmant.report.OverwritingFileReportFactory
- All Implemented Interfaces:
- ReportFactory
public class OverwritingFileReportFactory
- extends FileReportFactory
This class inherits FileReportFactory and overrides the
isAppend() method to return false. In other words, previous
log files with the same names as the log files created for this ReportFactory:s Report:s will be overwritten.
- Since:
- 0.6
- Author:
- Karl Gustafsson
|
Method Summary |
protected boolean |
isAppend()
Should existing log files be appended? This implementation returns
true (a safe default). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverwritingFileReportFactory
public OverwritingFileReportFactory()
isAppend
protected boolean isAppend()
- Description copied from class:
FileReportFactory
- Should existing log files be appended? This implementation returns
true (a safe default). Override to change that behavior.
- Overrides:
isAppend in class FileReportFactory
- Returns:
false, always.