📅  最后修改于: 2022-03-11 14:52:32.404000             🧑  作者: Mango
代码示例2
InputStream in = new URL(FILE_URL).openStream();Files.copy(in, Paths.get(FILE_NAME), StandardCopyOption.REPLACE_EXISTING);