Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-234

Add Methods For Retrieving System Directories/Paths to FileUtils

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Utilities
    • Labels:
      None
    • Environment:

      Java 1.4+

      Description

      I suggest adding methods to retrieve the temp directory and user directories as both File objects and String paths. The methods would have the following signatures:

      String getTempDirectoryPath()
      File getTempDirectory()
      String getUserDirectoryPath()
      File getUserDirectory()

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mwooten.dev Michael Wooten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified