(Path path, boolean append)
| 227 | } |
| 228 | |
| 229 | public static BufferedWriter writeWriter(Path path, boolean append) throws IOException { |
| 230 | OpenOption[] options = append ? WRITE_CREATE_APPEND : WRITE_CREATE; |
| 231 | return Files.newBufferedWriter(path, options); |
| 232 | } |
| 233 | //endregion |
| 234 | |
| 235 | //region 文件元数据的修改 |
nothing calls this directly
no outgoing calls
no test coverage detected