TrueZIP
  1. TrueZIP
  2. TRUEZIP-47

Provide bulk copy methods which throw IOException

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: TrueZIP 7.0 RC 1
    • Fix Version/s: TrueZIP 7.0
    • Component/s: TrueZIP File*
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          Hide
          Christian Schlichtherle added a comment -

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

          Show
          Christian Schlichtherle added a comment - Actually, I'ld prefer to add another cp_* method in the class TFile.
          Hide
          Christian Schlichtherle added a comment -

          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.

          Show
          Christian Schlichtherle added a comment - 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.

            People

            • Assignee:
              Christian Schlichtherle
              Reporter:
              Christian Schlichtherle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: