[jira] [Updated] (IO-367) Add convenience methods for copyToDirectory
[ https://issues.apache.org/jira/browse/IO-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Sawle updated IO-367: --- Attachment: IO-367.patch Proposed patch and unit tests. It would be possible to have extra shortcut logic within the methods; however, would lead to double checking and less clean code-base. 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 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 was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (IO-367) Add convenience methods for copyToDirectory
[ https://issues.apache.org/jira/browse/IO-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cornelius Lilge updated IO-367: --- Summary: Add convenience methods for copyToDirectory (was: Add convenience methods for copyToDirectory and moveToDirectory) 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 src, 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
[jira] [Updated] (IO-367) Add convenience methods for copyToDirectory
[ https://issues.apache.org/jira/browse/IO-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cornelius Lilge updated IO-367: --- Description: 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 src, 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. was: 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 src, 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. 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 src, 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
[jira] [Updated] (IO-367) Add convenience methods for copyToDirectory
[ https://issues.apache.org/jira/browse/IO-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cornelius Lilge updated IO-367: --- Description: 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. was: 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 src, 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. 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