[jira] [Commented] (IO-367) Add convenience methods for copyToDirectory
[ https://issues.apache.org/jira/browse/IO-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15990928#comment-15990928 ] ASF GitHub Bot commented on IO-367: --- Github user asfgit closed the pull request at: https://github.com/apache/commons-io/pull/34 > Add convenience methods for copyToDirectory > --- > > Key: IO-367 > URL: https://issues.apache.org/jira/browse/IO-367 > Project: Commons IO > Issue Type: New Feature > Components: Utilities >Affects Versions: 2.5 >Reporter: Cornelius Lilge >Priority: Minor > Labels: features > Attachments: IO-367.patch > > Original Estimate: 4h > Remaining Estimate: 4h > > I suggest adding the following convenience methods: > First: > {{void copyToDirectory(final File src, final File destDir)}} which will > simply select either > {{copyFileToDirectory}} > or > {{copyDirectoryToDirectory}}. > Second: > {{void copyToDirectory(final Collection srcs, final File destDir)}} > which will simply use {{copyToDirectory}} for each file object. > Implementation of these methods should be straight foward as they would only > recombine methods that are already existing and tested. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IO-367) Add convenience methods for copyToDirectory
[ https://issues.apache.org/jira/browse/IO-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15980504#comment-15980504 ] ASF GitHub Bot commented on IO-367: --- GitHub user PascalSchumacher opened a pull request: https://github.com/apache/commons-io/pull/34 IO-367: Add convenience methods for copyToDirectory (closes #18) patch supplied by James Sawle You can merge this pull request into a Git repository by running: $ git pull https://github.com/PascalSchumacher/commons-io copyToDirectory Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-io/pull/34.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #34 commit 861a4e87e19ec717bef84ec5e37b0b745a611300 Author: Pascal SchumacherDate: 2017-04-23T19:02:29Z IO-367: Add convenience methods for copyToDirectory (closes #18) patch supplied by James Sawle > Add convenience methods for copyToDirectory > --- > > Key: IO-367 > URL: https://issues.apache.org/jira/browse/IO-367 > Project: Commons IO > Issue Type: New Feature > Components: Utilities >Affects Versions: 2.5 >Reporter: Cornelius Lilge >Priority: Minor > Labels: features > Attachments: IO-367.patch > > Original Estimate: 4h > Remaining Estimate: 4h > > I suggest adding the following convenience methods: > First: > {{void copyToDirectory(final File src, final File destDir)}} which will > simply select either > {{copyFileToDirectory}} > or > {{copyDirectoryToDirectory}}. > Second: > {{void copyToDirectory(final Collection srcs, final File destDir)}} > which will simply use {{copyToDirectory}} for each file object. > Implementation of these methods should be straight foward as they would only > recombine methods that are already existing and tested. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IO-367) Add convenience methods for copyToDirectory
[ https://issues.apache.org/jira/browse/IO-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13582808#comment-13582808 ] Gary Gregory commented on IO-367: - Patches with unit tests are welcome. Add convenience methods for copyToDirectory --- Key: IO-367 URL: https://issues.apache.org/jira/browse/IO-367 Project: Commons IO Issue Type: New Feature Components: Utilities Affects Versions: 2.5 Reporter: Cornelius Lilge Priority: Minor Labels: features Original Estimate: 4h Remaining Estimate: 4h I suggest adding the following convenience methods: First: {{void copyToDirectory(final File src, final File destDir)}} which will simply select either {{copyFileToDirectory}} or {{copyDirectoryToDirectory}}. Second: {{void copyToDirectory(final CollectionFile srcs, final File destDir)}} which will simply use {{copyToDirectory}} for each file object. Implementation of these methods should be straight foward as they would only recombine methods that are already existing and tested. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira