Add sizeOf(File) Method to FileUtils ------------------------------------ Key: IO-238 URL: https://issues.apache.org/jira/browse/IO-238 Project: Commons IO Issue Type: Improvement Components: Utilities Affects Versions: 2.0 Environment: Java 1.4+ Reporter: Michael Wooten Priority: Minor Fix For: 2.0 I suggest adding a "size of" method to FileUtils that will appropriately call File.length() or FileUtils.sizeOfDirectory(File) based on whether or not the file is a regular file or a directory. I propose the following signature: long sizeOf(File) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.