commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Wooten (JIRA)" <>
Subject [jira] Created: (IO-238) Add sizeOf(File) Method to FileUtils
Date Thu, 04 Mar 2010 19:59:27 GMT
Add sizeOf(File) Method to FileUtils

                 Key: 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.

View raw message