commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IO-367) Add convenience methods for copyToDirectory
Date Mon, 01 May 2017 15:08:04 GMT

     [ https://issues.apache.org/jira/browse/IO-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pascal Schumacher resolved IO-367.
----------------------------------
       Resolution: Fixed
         Assignee: Pascal Schumacher
    Fix Version/s: 2.6

Patch applied (with small changes)! Thanks!

> 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
>            Assignee: Pascal Schumacher
>            Priority: Minor
>              Labels: features
>             Fix For: 2.6
>
>         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<File> 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)

Mime
View raw message