-
Classes Class Description org.apache.commons.io.CopyUtils Use IOUtils. Will be removed in 3.0. Methods renamed to IOUtils.write() or IOUtils.copy(). Null handling behavior changed in IOUtils (null data does not throw NullPointerException).org.apache.commons.io.DirectoryWalker Apache Commons IO no longer uses this class. Instead, usePathUtils.walk(java.nio.file.Path, org.apache.commons.io.file.PathFilter, int, boolean, java.nio.file.FileVisitOption...)
orFiles.walkFileTree(java.nio.file.Path, java.util.Set, int, java.nio.file.FileVisitor)
, and friends.org.apache.commons.io.FileCleaner org.apache.commons.io.filefilter.WildcardFilter Use WildcardFileFilter. Deprecated as this class performs directory filtering which it shouldn't do, but that can't be removed due to compatibility.org.apache.commons.io.FileSystemUtils As of 2.6 deprecated without replacement. Use equivalent methods inFileStore
instead,Files.getFileStore(Paths.get("/home")).getUsableSpace()
or iterate overFileSystems.getDefault().getFileStores()
org.apache.commons.io.input.CountingInputStream UseBoundedInputStream
(unbounded by default).org.apache.commons.io.input.MessageDigestCalculatingInputStream
-
Exceptions Exceptions Description org.apache.commons.io.IOExceptionWithCause (since 2.5) useIOException
instead