Issue Details (XML | Word | Printable)

Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Christian Schlichtherle
Reporter: Christian Schlichtherle
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Provide bulk copy methods which throw IOException

Created: 04/Feb/11 12:44 AM   Updated: 08/May/11 03:43 PM   Resolved: 06/May/11 01:41 PM
Component/s: TrueZIP File*
Affects Version/s: TrueZIP 7.0 RC 1
Fix Version/s: TrueZIP 7.0

Time Tracking:
Not Specified

Issue Links:

Participants: Christian Schlichtherle

 Description  « Hide

The bulk copy methods in the class de.schlichtherle.truezip.file.TFile unfortunately return a boolean to indicate failure.

This could simply be resolved by publishing the package private class de.schlichtherle.truezip.file.TIO.

Christian Schlichtherle added a comment - 07/Apr/11 03:59 AM

Actually, I'ld prefer to add another cp_* method in the class TFile.

Christian Schlichtherle added a comment - 12/Apr/11 06:05 AM

Added TFile.cp_r and TFile.cp_rp and changed test client and depending classes accordingly.
TFile.copy* and TFile.archiveCopy* methods are now deprecated.