Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-59

ArchiveEntry could have toString methods for formatting header contents

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None

    Description

      I think it would be useful if the ArchiveEntry interface had some methods for formatting the entry information as a String.

      This could then be used to create an Archive scanner to list archive contents, for example.

      There should probably be two methods:

      toShortString() - shows name, type and size only.

      toLongString() - shows all the details.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: