carlspring / commons-io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

commons-io

Master Build Status Known Vulnerabilities Maven Central Release

This is a simple library for common IO operations.

Currently, it contains:

  • An efficient implementation of file moving (FileUtils#moveDirectory) which is optimized for SSD-s based on the functionality available in JDK 1.7. This differs from Apache Commons IO, Guava and Spring's implementations in that it doesn't need to first copy and then delete, but instead carries out a real move operation. This also performs a merge operation.
  • A RandomInputStream which can be quite useful when you have to generate a number of random bytes.
  • MultipleDigestInputStream/MultipleDigestOutputStream which allow you to calculate digests when you're done reading/writing streams, hence avoiding having to re-read the stream.

About

License:Apache License 2.0


Languages

Language:Java 100.0%