Top Deprecated
commons-io 1.3.2

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.apache.commons.io.CopyUtils

Use IOUtils. Will be removed in 2.0. Methods renamed to IOUtils.write() or IOUtils.copy(). Null handling behaviour changed in IOUtils (null data does not throw NullPointerException).

Returns:

the amount of free drive space on the drive or volume
org.apache.commons.io.FileSystemUtils.freeSpace
(String
the path to get free space for, not null, not empty on Unix
path
)

Use freeSpaceKb(String) Deprecated from 1.3, may be removed in 2.0

Returns:

the requested byte array
org.apache.commons.io.IOUtils.toByteArray
(String
the String to convert
input
)

Use String#getBytes()

Returns:

the requested String
org.apache.commons.io.IOUtils.toString
(byte[]
the byte array to read from
input
)

Use String#String(byte[])

Returns:

the requested String
org.apache.commons.io.IOUtils.toString
(byte[]
the byte array to read from
input
,
String
the encoding to use, null means platform default
encoding
)

Use String#String(byte[], String)

org.apache.commons.io.filefilter.WildcardFilter

Use WilcardFileFilter. Deprecated as this class performs directory filtering which it shouldn't do, but that can't be removed due to compatability.