You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Wooten (JIRA)" <ji...@apache.org> on 2010/03/04 17:51:27 UTC

[jira] Created: (IO-234) Add Methods For Retrieving System Directories/Paths to FileUtils

Add Methods For Retrieving System Directories/Paths to FileUtils
----------------------------------------------------------------

                 Key: IO-234
                 URL: https://issues.apache.org/jira/browse/IO-234
             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 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()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IO-234) Add Methods For Retrieving System Directories/Paths to FileUtils

Posted by "Michael Wooten (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Wooten updated IO-234:
------------------------------

    Attachment: apache-commons-io-tmp-user-dirs.patch

The patch was created using Eclipse and contains the additional methods described in the description, as well as test cases for them.

> Add Methods For Retrieving System Directories/Paths to FileUtils
> ----------------------------------------------------------------
>
>                 Key: IO-234
>                 URL: https://issues.apache.org/jira/browse/IO-234
>             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
>
>         Attachments: apache-commons-io-tmp-user-dirs.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (IO-234) Add Methods For Retrieving System Directories/Paths to FileUtils

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton resolved IO-234.
--------------------------------

    Resolution: Fixed

Fixed, thanks for the patch

http://svn.apache.org/viewvc?view=revision&revision=982449

> Add Methods For Retrieving System Directories/Paths to FileUtils
> ----------------------------------------------------------------
>
>                 Key: IO-234
>                 URL: https://issues.apache.org/jira/browse/IO-234
>             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
>
>         Attachments: apache-commons-io-tmp-user-dirs.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.