static void copy(String source, String target) throws IOException { // 友情提示:测试时请使用无关紧要的文件 // TODO: try (InputStream input = new FileInputStream(source); OutputStream output = new FileOutputStream(target)) { input.transferTo(output); } }
Sign in to make a reply
这样的话17422