I'm currently using the apache-commons FileUtils.sizeOfDirectory(File file) method to get the size of a directory. What I actually need tough is the size of the directory on disk, the one displayed by the du utility under Unix, just to be clear.
Is it possible to get this information in Java?