Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
您可以查看 Apache Commons IO 库。
You can have a look at the Apache Commons IO Library.
还有 Google Guava 的
文件
(来自io
包) 其中您会发现 Apache Commons IO 和
com.google.common.io
之间有很多重叠之处。我个人比较喜欢番石榴。There's also Google Guava's
Files
(from theio
package) whichYou'll find a lot of overlap between Apache Commons IO and
com.google.common.io
. I personally prefer Guava.Apache Commons IO 的 FileUtils 提供了相当多的功能适用于复制和移动文件的实用方法。
FileUtils from Apache Commons IO provides quite a few utility methods that would be apt for copying and moving files.