Java needs to provide a standard method for determining available disk
space given a path. As it stands, the only indication Java provides is
the exception generated when space is exhausted. This is unacceptable as
it does not allow an application to determine when space is low and warn
the user or take other action before the space is exhausted and serious
side effects occur. Java is a multi-platform programming environment that
should provide this functionality in the JRE through a standard API call.
Requiring the programmer to write platform specific code for every possible
platform is not acceptable for such a basic function common to all platforms.