https://commons.apache.org/proper/commons-io/javadocs/api-release/org/apache/commons/io/FileUtils.html

General file manipulation utilities.

Facilities are provided in the following areas:

  • writing to a file
  • reading from a file
  • make a directory including parent directories
  • copying files and directories
  • deleting files and directories
  • converting to and from a URL
  • listing files and directories by filter and extension
  • comparing file content
  • file last changed date
  • calculating a checksum

converting to and from a URL,要是自己实现,太浪费绳命了。写Java,就得熟悉Apache Common和Google Guava,省了不知道多少劲呢!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-08-24
  • 2021-11-30
  • 2021-07-13
  • 2022-01-24
  • 2021-12-03
猜你喜欢
  • 2022-02-03
  • 2022-01-19
  • 2022-01-05
  • 2022-12-23
  • 2021-12-23
  • 2021-10-29
  • 2021-05-21
相关资源
相似解决方案