JAVA 文件操作(4)

要求: 通过二进制流的操作方式把程序调整为可以实现对任何类型文件进行文件移动(而不是调用windows命令行的外部命令move)。 主要方法: renameTo 官方说明: public boolean renameTo(File dest) Renames the file denoted by this abstract pathname. Many aspects of the behavi
相关文章
相关标签/搜索