类 FileInfoRecorder
java.lang.Object
cn.xusc.trace.record.FileInfoRecorder
- 所有已实现的接口:
InfoRecorder,Closeable,AutoCloseable
文件信息记录器
文件资源应该确保最后关闭
- 从以下版本开始:
- 1.0
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
FileInfoRecorder
构建一个指定File的文件信息记录器- 参数:
file- 文件
-
-
方法详细资料
-
record
信息记录- 指定者:
record在接口中InfoRecorder- 参数:
writeInfo- 写出信息
-
close
关闭writer- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-