Apache Commons’ FileUtils and IOUtils utilities
A popular companion of JCL is the Apache Commons project (https://commons.apache.org), which provides many libraries that complement the JCL functionality. The classes of the org.apache.commons.io
package are contained in the following root package and sub-packages:
- The
org.apache.commons.io
root package contains utility classes with static methods for common tasks, such as the popularFileUtils
andIOUtils
classes, described in the FileUtils class and Class IOUtils class sections respectively. - The
org.apache.commons.io.input
package contains classes that support input based on theInputStream
andReader
implementations, such asXmlStreamReader
orReversedLinesFileReader
. - The
org.apache.commons.io.output
package contains classes that support output based on theOutputStream
andWriter
implementations, such asXmlStreamWriter
orStringBuilderWriter
. - The
org.apache.commons.io.filefilter
package contains classes...