void findNextGeneration()
{
super.close();
for (int i = count - 1; i > 0; i--)
{
if (files[i].exists())
{
files[i].delete();
}
files[i - 1].renameTo(files[i]);
}
try
{
output = new MeasureOutputStream(new BufferedOutputStream(
new FileOutputStream(files[0])));
}
catch (FileNotFoundException e1)
{
this.getErrorManager().error("Error opening log file", e1,
ErrorManager.OPEN_FAILURE);
}
setOutputStream(output);
}
MyFileHandler.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:yajsw
作者:
评论列表
文章目录