Details

    • Type: Improvement
    • Status: Closed (View workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 0.8
    • Components: Module API
    • Labels:
      None

      Description

      Currently the JarArchive / DefaultJarArchive only provides a read-only access.

      It would be nice to have functionality to be able to modify (add/remove/change) the files within a Jar archive, explode the JAR into a directory, etc.

      I don't know whether this should be in the interface (JarArchive), or only in the implementation (DefaultJarArchive).

      Also, the current implementation stores the Jar (or war, etc) content as a member variable (private byte[] content). This means that if the archive is large it eats a lot of memory - it could (in findResource) create a JarInputStream from the File that it was passed originally.

        Attachments

          Activity

            People

            • Assignee:
              grimsellgrimsell grimsell grimsell (Inactive)
              Reporter:
              nigelmagnay Nigel Magnay (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: