![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA-IO
LG代码O
这个作者很懒,什么都没留下…
展开
-
使用File类中的renameTo()方法进行文件的剪切
在相对路径下创建文件HelloWord.txt 和文件夹FileTextpublic class Zy { public static void main(String[] args) throws IOException { File file1=new File("HelloWord.txt"); File file2=new File("FileT...原创 2019-08-10 09:05:44 · 530 阅读 · 0 评论 -
JAVAI/O操作总结
原创 2019-08-10 11:30:57 · 206 阅读 · 0 评论