摘要: public class T1 { public static void main(String[] args) { //要复制的文件的路径,复制后所到达的文件夹路径+复制后的文件名 copyFile("C:\\Users\\Administrator\\Desktop\\D1-425\\侯超.jp 阅读全文
posted @ 2022-03-14 21:22 SmallPepsi 阅读(234) 评论(0) 推荐(0)
摘要: public class FileOutputStreamTest { public static void main(String[] args) { testOutputStream(); } public static void testOutputStream(){ try { //指定向2 阅读全文
posted @ 2022-03-14 21:10 SmallPepsi 阅读(45) 评论(0) 推荐(0)
摘要: public class FileInputStreamTest { public static void main(String[] args) {// testFileInputStream();// testOutPutStream(); } /* 文件字节输入流 FileInputStrea 阅读全文
posted @ 2022-03-14 20:43 SmallPepsi 阅读(73) 评论(0) 推荐(0)