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.ioroot package contains utility classes with static methods for common tasks, such as the popularFileUtilsandIOUtilsclasses, described in the FileUtils class and Class IOUtils class sections respectively. - The
org.apache.commons.io.inputpackage contains classes that support input based on theInputStreamandReaderimplementations, such asXmlStreamReaderorReversedLinesFileReader. - The
org.apache.commons.io.outputpackage contains classes that support output based on theOutputStreamandWriterimplementations, such asXmlStreamWriterorStringBuilderWriter. - The
org.apache.commons.io.filefilterpackage contains classes...